Learning Flask FrameworkFlask is a small and powerful web development framework for Python. It does not presume or force a developer to use a particular tool or library. Flask supports extensions that can add application features as if they were implemented in Flask itself. Flask's main task is to build web applications quickly and with less code. With its lightweight and efficient web development framework, Flask combines rapid development and clean, simple design.
This book will take you through the basics of learning how to apply your knowledge of Python to the web.
Starting with the creation of a “Hello world” Flask app, you will be introduced to the most common Flask APIs and Flask's interactive debugger. You will learn how to store and retrieve blog posts from a relational database using an ORM and also to map URLs to views. Furthermore, you will walk through template blocks, inheritance, file uploads, and static assets. ...
Python 3 Object-oriented Programming, 2nd EditionPython 3 is more versatile and easier to use than ever. It runs on all major platforms in a huge array of use cases. Coding in Python minimizes development time and increases productivity in comparison to other languages. Clean, maintainable code is easy to both read and write using Python's clear, concise syntax.
Object-oriented programming is a popular design paradigm in which data and behaviors are encapsulated in such a way that they can be manipulated together. Many modern programming languages utilize the powerful concepts behind object-oriented programming and Python is no exception.
Starting with a detailed analysis of object-oriented analysis and design, you will use the Python programming language to clearly grasp key concepts from the object-oriented paradigm. This book fully explains classes, data encapsulation, inheritance, polymorphism, abstraction, and exceptions with an emphasis on when you can use each principle to develop well-designed software. ...
Practical App Development with AureliaExplore all the aspects of the Aurelia framework, including routing, templating, data binding, custom elements, event aggregation, HTTP services, features, plugins, etc. You'll see how to tie all the pieces together and walk away with an understanding of how to build applications, end to end.
Practical App Development with Aurelia teaches you to write a line of business applications using simple, clean JavaScript harnessing the Aurelia framework. You'll learn the key abstractions of Aurelia and understand the life cycle of components. If you want to understand the key features of the framework and gain a mastery of building Aurelia apps, then this is the book for you.
Aurelia is a modern front-end framework for mobile, desktop, and web clients. It is standards-based meaning that it has a very low learning curve. This book highlights the framework's simplicity and its power. ...
Using MVVM Light with your Xamarin AppsLearn how to use the popular MVVM Light development framework with a focus on reliable, maintainable code that can be deployed across any of the .NET-supported mobile platforms. Clear examples are provided of the advantages of the MVVM platform along with step-by-step demonstrations of how to create applications at different levels of complexity. Application development is covered for iOS, Android, and Windows phone (UWP) using MVVM Light as the central framework.
The model-view-view-model (MVVM) pattern is valued by many developers as an excellent way to create sophisticated modern applications. Its clear separation of presentation and business logic produces a clean implementation that promotes speed, scalability, and code reuse in applications with a complex UI. These characteristics have long been highly valued by WPF developers, and now that benefit is available to Xamarin developers, too. ...
Java by ComparisonImprove your coding skills by comparing your code to that of expert programmers so you can write code that's clean, concise, and to the point: code that others will read with pleasure and reuse. Get hands-on advice to level up your coding style through small and understandable examples that compare flawed code to an improved solution. Discover handy tips and tricks, as well as common bugs an experienced Java programmer needs to know. Make your way from a Java novice to a master craftsman.
This book is a useful companion for anyone learning to write clean Java code. The authors introduce you to the fundamentals of becoming a software craftsman by comparing pieces of problematic code with an improved version to help you to develop a sense for clean code. This unique before-and-after approach teaches you to create clean Java code.
Learn to keep your booleans in check, dodge formatting bugs, get rid of magic numbers, and use the right style of iteration. Write informative comments wh ...
Expert C++ ProgrammingC++ has come a long way and has now been adopted in several contexts. Its key strengths are its software infrastructure and resource-constrained applications. The C++ 17 release will change the way developers write code, and this course will help you master your developing skills with C++. With real-world, practical examples explaining each concept, the course is divided into three modules where will begin by introducing you to the latest features in C++ 17. It encourages clean code practices in C++ in general and demonstrates the GUI app-development options in C++. You'll get tips on avoiding memory leaks using smart-pointers.
In the next module, you'll see how multi-threaded programming can help you achieve concurrency in your applications. We start with a brief introduction to the fundamentals of multithreading and concurrency concepts. We then take an in-depth look at how these concepts work at the hardware-level as well as how both operating systems and frameworks use these low-l ...
Python for Data Analysis, 2nd EditionGet complete instructions for manipulating, processing, cleaning, and crunching datasets in Python. Updated for Python 3.6, the second edition of this hands-on guide is packed with practical case studies that show you how to solve a broad set of data analysis problems effectively. You'll learn the latest versions of pandas, NumPy, IPython, and Jupyter in the process.
Written by Wes McKinney, the creator of the Python pandas project, this book is a practical, modern introduction to data science tools in Python. It's ideal for analysts new to Python and for Python programmers new to data science and scientific computing. Data files and related material are available on GitHub.
Use the IPython shell and Jupyter notebook for exploratory computing; Learn basic and advanced features in NumPy (Numerical Python); Get started with data analysis tools in the pandas library; Use flexible tools to load, clean, transform, merge, and reshape data; Create informative visualizations with matplot ...
Web Scraping with Python, 2nd EditionIf programming is magic then web scraping is surely a form of wizardry. By writing a simple automated program, you can query web servers, request data, and parse it to extract the information you need. The expanded edition of this practical book not only introduces you web scraping, but also serves as a comprehensive guide to scraping almost every type of data from the modern web.
Part I focuses on web scraping mechanics: using Python to request information from a web server, performing basic handling of the server's response, and interacting with sites in an automated fashion. Part II explores a variety of more specific tools and applications to fit any web scraping scenario you're likely to encounter.
Parse complicated HTML pages; Develop crawlers with the Scrapy framework; Learn methods to store data you scrape; Read and extract data from documents; Clean and normalize badly formatted data; Read and write natural languages; Crawl through forms and logins; Scrape JavaScript and ...
Learn Rails 5.2Learn to build Rails-based web applications using all the latest features offered in Rails 5.2. Author Stefan Wintermeyer begins by teaching the basics of Ruby 2.5 before proceeding through all aspects of Rails, utilizing clean, succinct examples - rather than a single large application.
This book covers topics including Active Storage, Credentials, Active Record, Scaffolding, REST, Routing, Bundler, Forms, Cookies, and Sessions, all of which are vital for modern Rails web applications. To complement these topics you'll also learn about test-driven development, Action Cable, Active Job, Action Mailer, I18n, Asset Pipeline, and caching. Finally, you'll see a how-to for a production web server with nginx. This complete set of skills will set you up for a future of efficient and elegant Rails coding.
Use the Ruby on Rails web development framework; Install and manage the Rails framework; Persist data for your web application with Active Record; Work with forms; Apply a test-driven d ...
Simplifying JavaScriptThe best modern JavaScript is simple, readable, and predictable. Learn to write modern JavaScript not by memorizing a list of new syntax, but with practical examples of how syntax changes can make code more expressive. Starting from variable declarations that communicate intention clearly, see how modern principles can improve all parts of code. Incorporate ideas with curried functions, array methods, classes, and more to create code that does more with less while yielding fewer bugs.
It's time to write JavaScript code that's clean and expressive. Modern JavaScript is simpler and more predictable and readable than ever. Discover how to write better code with clear examples using principles that show how updated syntax can make code better with fewer bugs.
Starting from the ground up, learn new syntax (or how to reuse older syntax) to transform code from clunky bug-susceptible scripts to clear and elegant programs that are easy to read and easy to extend.
Create a foundation fo ...