Computers

Python in 24 Hours, Sams Teach Yourself

Author: Katie Cunningham

Publisher: Sams Publishing

ISBN: 0133354466

Category: Computers

Page: 320

View: 8926

In just 24 sessions of one hour or less, Sams Teach Yourself Python in 24 Hours will help you get started fast, master all the core concepts of programming, and build anything from websites to games. Using this book’s straightforward, step-by-step approach, you’ll move from the absolute basics through functions, objects, classes, modules, database integration, and more. Every lesson and case study application builds on what you’ve already learned, giving you a rock-solid foundation for real-world success! Step-by-step instructions carefully walk you through the most common Python development tasks. Quizzes and Exercises at the end of each chapter help you test your knowledge. Notes present interesting information related to the discussion. Tips offer advice or show you easier ways to perform tasks. Warnings alert you to possible problems and give you advice on how to avoid them. Learn how to… Install and run the right version of Python for your operating system Store, manipulate, reformat, combine, and organize information Create logic to control how programs run and what they do Interact with users or other programs, wherever they are Save time and improve reliability by creating reusable functions Master Python data types: numbers, text, lists, and dictionaries Write object-oriented programs that work better and are easier to improve Expand Python classes to make them even more powerful Use third-party modules to perform complex tasks without writing new code Split programs to make them more maintainable and reusable Clearly document your code so others can work with it Store data in SQLite databases, write queries, and share data via JSON Simplify Python web development with the Flask framework Quickly program Python games with PyGame Avoid, troubleshoot, and fix problems with your code
Technology & Engineering

Python Programming for Raspberry Pi, Sams Teach Yourself in 24 Hours

Author: Richard Blum,Christine Bresnahan

Publisher: Sams Publishing

ISBN: 0134389573

Category: Technology & Engineering

Page: 624

View: 1653

Python Programming for Raspberry Pi® In just 24 sessions of one hour or less, Sams Teach Yourself Python Programming for Raspberry Pi in 24 Hours teaches you Python programming on Raspberry Pi, so you can start creating awesome projects for home automation, home theater, gaming, and more. Using this book’s straight-forward, step-by-step approach, you’ll move from the absolute basics all the way through network and web connections, multimedia, and even connecting with electronic circuits for sensing and robotics. Every lesson and case study application builds on what you’ve already learned, giving you a rock-solid foundation for real-world success! Step-by-step instructions carefully walk you through the most common Raspberry Pi Python programming tasks. Quizzes at the end of each chapter help you test your knowledge. By the Way notes present interesting information related to the discussion. Did You Know? tips offer advice or show you easier ways to perform tasks. Watch Out! cautions alert you to possible problems and give you advice on how to avoid them. Richard Blum has administered systems and networks for more than 25 years. He has published numerous Linux and open source books, and is an online instructor for web programming and Linux courses used by colleges across the United States. His books include Ubuntu Linux Secrets; Linux for Dummies, Ninth Edition; PostgreSQL 8 for Windows; and Professional Linux Programming. Christine Bresnahan began working as a systems administrator more than 25 years ago. Now an Adjunct Professor at Ivy Tech Community College, she teaches Python programming, Linux administration and computer security. She is coauthor of The Linux Bible, Eighth Edition. With Blum, she also coauthored Linux Command Line & Shell Scripting Bible, Second Edition. Get your Raspberry Pi and choose the right low-cost peripherals Set up Raspian Linux and the Python programming environment Learn Python basics, including arithmetic and structured commands Master Python 3 lists, tuples, diction-aries, sets, strings, files, and modules Reuse the same Python code in multiple locations with functions Manipulate string data efficiently with regular expressions Practice simple object-oriented programming techniques Use exception handling to make your code more reliable Program modern graphical user interfaces with Raspberry Pi and OpenGL Create Raspberry Pi games with the PyGame library Learn network, web, and database techniques you can also use in business software Write Python scripts that send email Interact with other devices through Raspberry Pi’s GPIO interface Walk through example Raspberry Pi projects that inspire you to do even more On the Web: Register your book at informit.com/title/9780672337642 for access to all code examples from the book, as well as update and corrections as they become available.
Technology & Engineering

Sams Teach Yourself Python Programming for Raspberry Pi in 24 Hours

Author: Richard Blum,Christine Bresnahan

Publisher: Pearson Education

ISBN: 0789752050

Category: Technology & Engineering

Page: 582

View: 9792

Provides step-by-step lessons that teach Python programming on Raspberry Pi, covering such topics as working with modules, writing scripts, using loops, creating functions, and exploring object-oriented programming.
Computers

Sams Teach Yourself Django in 24 Hours

Author: Brad Dayley

Publisher: Sams Publishing

ISBN: 9780132715492

Category: Computers

Page: 528

View: 7761

In just 24 lessons of one hour or less, you will be able to build full-featured production websites using Django, the powerful web development framework based on Python. Designed for experienced website developers who have at least some familiarity with the Python programming language, this book uses a straightforward, step-by-step approach. Each lesson builds on the previous ones, enabling you to learn the essentials of implementing the Django framework on a website from the ground up. Step-by-step instructions carefully walk you through the most common Django tasks. Q&As, quizzes, and exercises at the end of each lesson help you test your knowledge. Notes and tips point out shortcuts and solutions. Learn how to… Install and configure the Django web development framework Cleanly separate data, logic, and view layers Implement site interfaces with build templates and views Utilize templates and views to store, access, and retrieve data Use the Django forms library Define custom tags and filters to minimize coding Secure sites with registration, authorization, logins, and permissions Manage sessions and cookies Implement middleware for request and response handling Create sitemaps to inform search engines of your content Internationalize your site Optimize performance with caching Deploy Django in multiple configurations Maintain sites with Django’s administrator interface Introduction 1 Part I: Creating the Website Framework Hour 1: Understanding Django 7 Hour 2: Creating Your First Website 19 Hour 3: Adding Models and Objects to Your Website 37 Hour 4: Creating the Initial Views 63 Part II: Implementing the Website Interface Hour 5: Using Data from the Database in Views 81 Hour 6: Configuring Web Page Views 103 Hour 7: Implementing Django Templates to Create Custom Views 117 Hour 8: Using Built-in Template Tags to Enhance Views 139 Hour 9: Using Built-in Template Filters to Enhance Views 155 Hour 10: Adding Forms to Views 185 Hour 11: Using Views to Add and Update Data in the Database 209 Hour 12: Utilizing Generic Views 231 Hour 13: Advanced View Configurations 269 Part III: Implementing a Full-Featured Website Hour 14: Managing Site Users 295 Hour 15: Adding Website Security 313 Hour 16: Managing Sessions and Cookies 333 Hour 17: Customizing Models in the Admin Interface 347 Hour 18: Customizing the Admin Interface 365 Part IV: Implementing Advanced Website Components Hour 19: Implementing Middleware 383 Hour 20: Internationalization and Localization 407 Hour 21: Creating Sitemaps 423 Hour 22: Implementing Multiple Websites 437 Hour 23: Configuring Caching 451 Hour 24: Deploying Django 465 Appendixes Appendix A: Django Resources 477 Appendix B: Django Form Field Objects 481 Appendix C: Formatting Dates and Times 491 Index 493
Computers

Sams Teach Yourself Swift in 24 Hours

Author: B. J. Miller

Publisher: Pearson Education

ISBN: 067233724X

Category: Computers

Page: 423

View: 7344

Offers twenty-four lessons teaching how to build next-generation OS X and iOS apps using Apple's new programming language, with step-by-step instructions for such common tasks as using operators, iterating code with loops, and introducing generics.
Computers

Sams Teach Yourself Web Services in 24 Hours

Author: Mike Kopack,Stephen Potts

Publisher: Pearson Education

ISBN: 9780132714457

Category: Computers

Page: 456

View: 4273

According to recent press reports, everyone is developing Web Services, but many are still in the exploratory phase - learning what's involved and how to achieve ROI. This book is designed to give a working introduction to Web Services to help decision-makers prepare for the implementation in their companies. It demystifies the topic by providing a beginning level explanation of what this technology is, what it means to businesses, where to apply it, and how to make it work. Using numerous simple examples, the book explains the core concepts of Web Services: SOAP, UDDI, and WSDL, as well as tools and related concepts that will help create the "big picture" in readers' minds.
Computers

Sams Teach Yourself JQuery and JavaScript in 24 Hours

Author: Brad Dayley

Publisher: Pearson Education

ISBN: 0672337347

Category: Computers

Page: 638

View: 7833

Provides twenty-four lessons about how to use jQuery and JavaScript to build single-page web apps for multiple devices, with designs that incorporate animations, special effects, and image galleries.
Computers

Sams Teach Yourself JavaScript in 24 Hours

Author: Phil Ballard,Michael Moncur

Publisher: Sams Publishing

ISBN: 0133048314

Category: Computers

Page: 448

View: 1726

Learn JavaScript in 24 Hours Covers JavaScript 1.8+, Ajax and jQuery In just 24 lessons of one hour or less, you can learn how to create dynamic, interactive Web pages with the popular and ubiquitous JavaScript web programming language. Using a straightforward, step-by-step approach, each lesson in this book clearly and carefully walks you through basic concepts and techniques, and helps you learn the essentials of JavaScript programming from the ground up. Learn how to… Use JavaScript to build dynamic, interactive Web pages Debug scripts Create scripts that work in all browsers Work with HTML5 and CSS3 Leverage the popular jQuery library Control CSS with simple JavaScripts Add Ajax effects to your web pages Script animations and music Step-by-step instructions carefully walk you through the most common JavaScript programming tasks Quizzes at end of every chapter help you build and test your knowledge Interactive online exercises let you practice what you learn at the Codecademy web site with no downloads or installation needed Sams Publishing has teamed up with Codecademy — the online place where anyone can learn and teach coding — to provide readers of Sams Teach Yoruself JavaScript in 24 Hours with an exclusive area on the Codecademy web site where you can supplement what you've learned in this book with some fun, fully interactive exercises and projects. After reading a lesson in the book you can roll up your sleeves and get some hands-on coding experience at codecademy.com/tracks/teachyourself
Computers

Sams Teach Yourself Node.js in 24 Hours

Author: George Ornbo

Publisher: Sams Publishing

ISBN: 9780672335952

Category: Computers

Page: 442

View: 4805

Presents lessons on how to build server-side applications using the Node.js platform.
Computers

Sams Teach Yourself Python in 24 Hours

Author: Ivan Van Laningham

Publisher: Sams Publishing

ISBN: 9780672317354

Category: Computers

Page: 510

View: 7723

Twenty-four one-hour-long lessons explore the fundamentals of the computer programming language, examining syntax, language, object oriented design, GUI programming, and the use of Python for CGI applications and as a system administration tool
Technology & Engineering

Arduino Programming in 24 Hours, Sams Teach Yourself

Author: Richard Blum

Publisher: Sams Publishing

ISBN: 0133764133

Category: Technology & Engineering

Page: 432

View: 8654

In just 24 sessions of one hour or less, Sams Teach Yourself Arduino Programming in 24 Hours teaches you C programmingon Arduino, so you can start creating inspired “DIY” hardwareprojects of your own! Using this book’s straightforward, step-by-stepapproach, you’ll walk through everything from setting up yourprogramming environment to mastering C syntax and features, interfacing your Arduino to performing full-fledged prototyping.Every hands-on lesson and example builds on what you’ve alreadylearned, giving you a rock-solid foundation for real-world success! Step-by-step instructions carefully walk you through the most common Arduino programming tasks. Quizzes at the end of each chapter help you test your knowledge. By the Way notes present interesting information related to the discussion. Did You Know? tips offer advice or show you easier ways to perform tasks. Watch Out! cautions alert you to possible problems and give you advice on how to avoid them. Learn how to... Get the right Arduino hardware and accessories for your needs Download the Arduino IDE, install it, and link it to your Arduino Quickly create, compile, upload, and run your first Arduino program Master C syntax, decision control, strings, data structures, and functions Use pointers to work with memory—and avoid common mistakes Store data on your Arduino’s EEPROM or an external SD card Use existing hardware libraries, or create your own Send output and read input from analog devices or digital interfaces Create and handle interrupts in software and hardware Communicate with devices via the SPI interface and I2C protocol Work with analog and digital sensors Write Arduino C programs that control motors Connect an LCD to your Arduino, and code the output Install an Ethernet shield, configure an Ethernet connection, and write networking programs Create prototyping environments, use prototyping shields, and interface electronics to your Arduino
Computers

Unity Game Development in 24 Hours, Sams Teach Yourself

Author: Ben Tristem,Mike Geig

Publisher: Sams Publishing

ISBN: 0134272137

Category: Computers

Page: 400

View: 8285

In just 24 lessons of one hour or less, Sams Teach Yourself Unity Game Development in 24 Hours will help you master the Unity 5 game engine at the heart of Hearthstone: Heroes of Warcraft, Kerbal Space Program, and many other sizzling-hot games! This book’s straightforward, step-by-step approach teaches you everything from the absolute basics through sophisticated game physics, animation, and mobile device deployment techniques. Every lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success. Step-by-step instructions carefully walk you through the most common Unity game development tasks. Practical, hands-on examples show you how to apply what you learn. Quizzes and exercises help you test your knowledge and stretch your skills. Notes and tips point out shortcuts and solutions.

R in 24 Hours, Sams Teach Yourself

Author: Andy Nicholls,Richard Pugh,Aimee Gott

Publisher: Sams Publishing

ISBN: 9780672338489

Category:

Page: 400

View: 8571

With the open source R programming language and its immense library of packages, you can perform virtually any data analysis task. Now, in just 24 lessons of one hour or less, you can learn all the skills and techniques you'll need to import, manipulate, summarize, model, and plot data with R, formalize analytical code; and build powerful R packages using current best practices. Each short, easy lesson builds on all that's come before: you'll learn all of R's essentials as you create real R solutions. R in 24 hours, Sams Teach Yourself covers the entire data analysis workflow from the viewpoint of professionals whose code must be efficient, reproducible and suitable for sharing with others. You'll learn all this, and much more: Installing and configuring the R environment Creating single-mode and multi-mode data structures Working with dates, times, and factors Using common R functions, and writing your own Importing, exporting, manipulating, and transforming data Handling data more efficiently, and writing more efficient R code Plotting data with ggplot2 and Lattice graphics Building the most common types of R models Building high-quality packages, both simple and complex - complete with data and documentation Writing R classes: S3, S4, and beyond Using R to generate automated reports Building web applications with Shiny Step-by-step instructions walk you through common questions, issues, and tasks; Q-and-As, Quizzes, and Exercises build and test your knowledge; "Did You Know?" tips offer insider advice and shortcuts; and "Watch Out!" alerts help you avoid pitfalls. By the time you're finished, you'll be comfortable going beyond the book to solve a wide spectrum of analytical and statistical problems with R.
Computers

Apache Spark in 24 Hours, Sams Teach Yourself

Author: Jeffrey Aven

Publisher: Sams Publishing

ISBN: 0134445821

Category: Computers

Page: 445

View: 2587

Apache Spark is a fast, scalable, and flexible open source distributed processing engine for big data systems and is one of the most active open source big data projects to date. In just 24 lessons of one hour or less, Sams Teach Yourself Apache Spark in 24 Hours helps you build practical Big Data solutions that leverage Spark’s amazing speed, scalability, simplicity, and versatility. This book’s straightforward, step-by-step approach shows you how to deploy, program, optimize, manage, integrate, and extend Spark–now, and for years to come. You’ll discover how to create powerful solutions encompassing cloud computing, real-time stream processing, machine learning, and more. Every lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success. Whether you are a data analyst, data engineer, data scientist, or data steward, learning Spark will help you to advance your career or embark on a new career in the booming area of Big Data. Learn how to • Discover what Apache Spark does and how it fits into the Big Data landscape • Deploy and run Spark locally or in the cloud • Interact with Spark from the shell • Make the most of the Spark Cluster Architecture • Develop Spark applications with Scala and functional Python • Program with the Spark API, including transformations and actions • Apply practical data engineering/analysis approaches designed for Spark • Use Resilient Distributed Datasets (RDDs) for caching, persistence, and output • Optimize Spark solution performance • Use Spark with SQL (via Spark SQL) and with NoSQL (via Cassandra) • Leverage cutting-edge functional programming techniques • Extend Spark with streaming, R, and Sparkling Water • Start building Spark-based machine learning and graph-processing applications • Explore advanced messaging technologies, including Kafka • Preview and prepare for Spark’s next generation of innovations Instructions walk you through common questions, issues, and tasks; Q-and-As, Quizzes, and Exercises build and test your knowledge; "Did You Know?" tips offer insider advice and shortcuts; and "Watch Out!" alerts help you avoid pitfalls. By the time you're finished, you'll be comfortable using Apache Spark to solve a wide spectrum of Big Data problems.
Computers

Sams Teach Yourself Ruby in 21 Days

Author: Mark Slagell

Publisher: Sams Publishing

ISBN: 9780672322525

Category: Computers

Page: 537

View: 1053

Ruby is a high-level, fully object-oriented programming (OOP) language. It is very powerful and relatively easy to learn, read, and maintain. Sams Teach Yourself Ruby in 21 Days provides the best introduction to this language and addresses one of the key constraints it faces: "The paucity of quality English-language documentation is one of the few things holding Ruby back from widespread adoption," according to Dr. Curtis Clifton of Iowa State University¿s Department of Graduate Computer Science.
Computers

Sams Teach Yourself SQL in 24 Hours

Author: Ryan Stephens,Ron Plew,Arie D. Jones

Publisher: Pearson Education

ISBN: 9780132603911

Category: Computers

Page: 504

View: 5636

In just 24 sessions of one hour or less, you’ll learn how to use SQL to build effective databases, efficiently retrieve your data, and manage everything from performance to security! Using this book’s straightforward, step-by-step approach, you’ll learn hands-on through practical examples. Each lesson builds on what you’ve already learned, giving you a strong real-world foundation for success. The authors guide you from the absolute basics to advanced techniques—including views, transactions, Web data publishing, and even powerful SQL extensions for Oracle and Microsoft SQL Server! Step-by-step instructions carefully walk you through the most common SQL tasks. Quizzes and Exercises at the end of each chapter help you test your knowledge. By the Way notes present interesting information related to the discussion. Did You Know? tips offer advice or show you easier ways to perform tasks. Watch Out! cautions alert you to possible problems and give you advice on how to avoid them. Learn how to… Understand what SQL is, how it works, and what it does Define efficient database structures and objects “Normalize” raw databases into logically organized tables Edit relational data and tables with DML Manage database transactions Write effective, well-performing queries Categorize, summarize, sort, group, and restructure data Work with dates and times Join tables in queries, use subqueries, and combine multiple queries Master powerful query optimization techniques Administer databases and manage users Implement effective database security Use views, synonyms, and the system catalog Extend SQL to the enterprise and Internet Master important Oracle and Microsoft SQL Server extensions to ANSI SQL
Computers

PHP, MySQL & JavaScript All in One, Sams Teach Yourself

Author: Julie C. Meloni

Publisher: Sams Publishing

ISBN: 0134439589

Category: Computers

Page: 704

View: 3529

In just a short time, you can learn how to use PHP, MySQL, and JavaScript together to create dynamic, interactive websites and applications using three leading web development technologies. No previous programming experience is required. Using a straightforward, step-by-step approach, each lesson in this book builds on the previous ones, enabling you to learn the essentials of full-stack web application development – from HTML, CSS, and JavaScript on the front end, to PHP scripting and MySQL databases on the server. Regardless of whether you run Linux, Windows, or MacOS, the book includes complete instructions to install all the software you need to set up a stable environment for learning, testing, and production. Step-by-step instructions carefully walk you through the most common web application development tasks. Practical, hands-on examples show you how to apply what you learn. Quizzes and exercises help you test your knowledge and stretch your skills. Learn how to: • Build web pages with HTML5 and CSS • Use JavaScript to build dynamic, interactive web pages • Get PHP, MySQL, and JavaScript to work together to create modern, standards-compliant web applications • Enhance interactivity with AJAX • Leverage JavaScript libraries such as jQuery • Work with cookies and user sessions • Get user input with web-based forms • Use basic SQL commands • Interact with the MySQL database using PHP • Write maintainable code and get started with version control • Decide when frameworks such as Bootstrap, Foundation, React, Angular, and Laravel can be useful • Create a web-based discussion forum or calendar • Add a storefront and shopping cart to your site Contents at a Glance PART I Web Application Basics 1 Understanding How the Web Works 2 Structuring HTML and Using Cascading Style Sheets 3 Understanding the CSS Box Model and Positioning 4 Introducing JavaScript 5 Introducing PHP PART II Getting Started with Dynamic Web Sites 6 Understanding Dynamic Web Sites and HTML5 Applications 7 JavaScript Fundamentals: Variables, Strings, and Arrays 8 JavaScript Fundamentals: Functions, Objects, and Flow Control 9 Understanding JavaScript Event Handling 10 The Basics of Using jQuery PART III Taking Your Web Applications to the Next Level 11 AJAX: Getting Started with Remote Scripting 12 PHP Fundamentals: Variables, Strings, and Arrays 13 PHP Fundamentals: Functions, Objects, and Flow Control 14 Working with Cookies and User Sessions 15 Working with Web-Based Forms PART IV Integrating a Database into Your Applications 16 Understanding the Database Design Process 17 Learning Basic SQL Commands 18 Interacting with MySQL Using PHP PART V Getting Started with Application Development 19 Creating a Simple Discussion Forum 20 Creating an Online Storefront 21 Creating a Simple Calendar 22 Managing Web Applications PART VI Appendixes A Installation QuickStart with XAMPP B Installing and Configuring MySQL C Installing and Configuring Apache D Installing and Configuring PHP
Computers

Sams Teach Yourself Java in 24 Hours (Covering Java 7 and Android)

Author: Rogers Cadenhead

Publisher: Sams Publishing

ISBN: 0132841711

Category: Computers

Page: 432

View: 4612

Sams Teach Yourself Java in 24 Hours, Sixth Edition Covering Java 7 and Android Development In just 24 lessons of one hour or less, you can learn how to create Java applications. Using a straightforward, step-by-step approach, popular author Rogers Cadenhead helps you master the skills and technology you need to create desktop and web programs, web services, and even an Android app in Java. Full-color figures and clear step-by-step instructions visually show you how to program with Java. Quizzes and Exercises at the end of each chapter help you test your knowledge. Notes, Tips, and Cautions provide related information, advice, and warnings. Learn how to… Set up your Java programming environment Write your first working program in just minutes Control program decisions and behavior Store and work with information Build straightforward user interfaces Create interactive web programs Use threading to build more responsive programs Read and write files and XML data Master best practices for object-oriented programming Create flexible, interoperable web services with JAX-WS Use Java to create an Android app PART I: Getting Started HOUR 1: Becoming a Programmer HOUR 2: Writing Your First Program HOUR 3: Vacationing in Java HOUR 4: Understanding How Java Programs Work PART II: Learning the Basics of Programming HOUR 5: Storing and Changing Information in a Program HOUR 6: Using Strings to Communicate HOUR 7: Using Conditional Tests to Make Decisions HOUR 8: Repeating an Action with Loops PART III: Working with Information in New Ways HOUR 9: Storing Information with Arrays HOUR 10: Creating Your First Object HOUR 11: Describing What Your Object Is Like HOUR 12: Making the Most of Existing Objects PART IV: Programming a Graphical User Interface HOUR 13: Building a Simple User Interface HOUR 14: Laying Out a User Interface HOUR 15: Responding to User Input HOUR 16: Building a Complex User Interface PART V: Moving into Advanced Topics HOUR 17: Creating Interactive Web Programs HOUR 18: Handling Errors in a Program HOUR 19: Creating a Threaded Program HOUR 20: Reading and Writing Files PART VI: Writing Internet Applications HOUR 21: Reading and Writing XML Data HOUR 22: Creating Web Services with JAX-WS HOUR 23: Creating Java2D Graphics HOUR 24: Writing Android Apps PART VII: Appendixes APPENDIX A: Using the NetBeans Integrated Development Environment APPENDIX B: Where to Go from Here: Java Resources APPENDIX C: This Book’s Website APPENDIX D: Setting Up an Android Development Environment
Computers

Sams Teach Yourself Android Application Development in 24 Hours

Author: Lauren Darcey,Shane Conder

Publisher: Sams Publishing

ISBN: 0672335697

Category: Computers

Page: 485

View: 605

Offers software developers step-by-step instructions on how to create and distribute their first marketable, professional Android application.