by Peter Späth
Develop Android apps with Kotlin to create more elegant programs than the Java equivalent. This revised book covers the various aspects of a modern Android app that professionals are expected to encounter. You'll use the latest Kotlin APIs as made available in most recent versions of the Android SDK.
There are chapters dealing with all the important aspects of the Android platform, including GUI design, file- and data-handling, coping with phone calls, multimedia apps, interaction with location and mapping services, monetizing apps, and much more. Jetpack will also be covered. It is a suite of libraries to help developers follow best practices, reduce boilerplate code, and write code that works consistently across Android versions and devices.
Pro Android with Kotlin, Second Edition is an invaluable source for developers wanting to build real-world, state-of-the-art Android apps for modern Android devices using the Kotlin programming language and its APIs as available in the modern Android SDK. After reading this book, you'll come away with the skills and techniques to build modern Android apps that you can sell on Google Play. Free source code is available on this book's Github page as well.
What You Will Learn
Integrate activities, such as intents, services, notifications and more, into your Android apps
Build UIs in Android using layouts, widgets, lists, menus, and action bars
Deal with data in your Android apps using data persistence and cloud access
Design for different Android devices
Create multimedia apps in Android
Secure, deploy, and monetize your Android apps
by Adrian HolovatyJacob Kaplan-Moss
This latest edition of The Definitive Guide to Django is updated for Django 1.1, and, with the forward–compatibility guarantee that Django now provides, should serve as the ultimate tutorial and reference for this popular framework for years to come.
Django, the Python–based equivalent to Ruby’s Rails web development framework, is one of the hottest topics in web development today. Lead developer Jacob Kaplan–Moss and Django creator Adrian Holovaty show you how they use this framework to create award–winning web sites by guiding you through the creation of a web application reminiscent of ChicagoCrime.org.
The Definitive Guide to Django is broken into three parts, with the first introducing Django fundamentals such as installation and configuration, and creating the components that together power a Django–driven web site. The second part delves into the more sophisticated features of Django, including outputting non–HTML content such as RSS feeds and PDFs, caching, and user management. The appendixes serve as a detailed reference to Django’s many configuration options and commands.
What you’ll learn
The first half of this book explains in depth how to build web applications using Django including the basics of dynamic web pages, the Django templating system interacting with databases, and web forms.
The second half of this book discusses higher-level concepts such as caching, security, and how to deploy Django.
The appendixes form a reference for the commands and configurations available in Django.
Who this book is for
Anyone who wants to use the powerful Django framework to build dynamic web sites quickly and easily.
Table of Contents
Introduction to Django
Getting Started
Views and URLconfs
Templates
Models
The Django Admin Site
Forms
Advanced Views and URLconfs
Advanced Templates
Advanced Models
Generic Views
Deploying Django
Generating Non-HTML Content
Sessions, Users, and Registration
Caching
django.contrib
Middleware
Integrating with Legacy Databases and Applications
Internationalization
Security
About the Author
Adrian Holovaty , a web developer and journalist, is one of the creators and core developers of Django. He works at WashingtonPost.com, where he builds database web applications and does "journalism as computer programming." Previously, he was lead developer for World Online in Lawrence, Kansas, where Django was created. When not working on Django improvements, Adrian hacks on side projects for the public good, such as ChicagoCrime.org, which won the 2005 Batten Award for Innovations in Journalism. He lives in Chicago and maintains a weblog at www.Holovaty.com.
Jacob Kaplan-Moss is one of the lead developers of Django. At his day job, he's the lead developer for the Lawrence Journal-World, a locally owned newspaper in Lawrence, Kansas, where Django was developed. At the Journal-World, Jacob hacks on a number of sites including lawrence.com, LJWorld.com, and KUsports.com, and he is continually embarrassed by the multitude of media awards those sites win. In his spare time—what little of it there is—he fancies himself a chef.