作者:Ayman Hourieh
出版日期:March 10, 2009
出版社:其它
页数:272
ISBN:ISBN-10: 1847196780 ISBN-13: 978-1847196781
文件格式:PDF
Build powerful web applications, quickly and cleanly, with the Django application framework
Teaches everything you need to create a complete Web 2.0-style web application with Django 1.0Learn rapid development and clean, pragmatic designNo knowledge of Django requiredPacked with examples and screenshots for better understandingIn Detail
Django is a high-level Python web framework that was developed by afast-moving online-news operation to meet the stringent twin challengesof newsroom deadlines and the needs of web developers. It is designedto promote rapid development and clean, pragmatic design and lets youbuild high-performing, elegant web applications rapidly. Django focuseson automating as much as possible and adhering to the DRY (Don’t RepeatYourself) principle, making it easier to build high-performance webapplications faster, with less code.
This book will show you how to assemble Django’s features and takeadvantage of its power to design, develop, and deploy a fully-featuredweb site. It will walk you through the creation of an example webapplication, with lots of code examples.
Specially revised for version 1.0 of Django, the book starts byintroducing the main design concepts in Django. Next, it leads youthrough the process of installing Django on your system. After that,you will start right away on building your social bookmarkingapplication using Django. Various Django 1.0 components andsub-frameworks will be explained during this process, and you willlearn about them by example.
In each chapter, you will build one or more of the features that areessential in Web 2.0 applications, like user management, tags, andAJAX. You will also learn about good software development practices,such as keeping your application secure, and automating testing withunit tests. By the end of the book, you will have built a fullyfunctional real-life Web 2.0 application, and learned how to deploy itto a production server.
What you will learn from this book?
Register your users through a user authentication system and manage them efficientlyRestrict user access to certain pages and protect against malicious inputCreate tags to allow site visitors to classify, view, and share content easilyCreate your own administration interface for proper monitoring of the web siteEnhance your user interface with AJAX and add flavors to your web siteEnable voting and commenting on content, and display popular content to site visitorsBuild user networks; add friend management and invitation features for social networkingCreate unit tests to automate the testing of codeApproach
The simple and clear approach is ideal for beginners to Django.Packed with examples and screenshots, this book will help you learn thefeatures of Django 1.0 and help you build a dynamic website using thosefeatures.
Who this book is written for?
This book is for web developers who want to learn to build acomplete site with Web 2.0 features, using the power of a proven andpopular development system, Django, but do not necessarily want tolearn how the complete framework functions in order to do this. Basicknowledge of Python development is required for this book, but noknowledge of Django is expected.
About the Author
Ayman Hourieh
Ayman Hourieh holds a bachelor degree in Computer Science. He joinedthe engineering team at Google in January 2008. Prior to that, heworked with web application development for more than two years. Inaddition, he has been contributing to several Open Source projects suchas Mozilla Firefox. Ayman also worked as a teaching assistant inComputer Science courses for one year. Even after working with avariety of technologies, Python remains Ayman’s favorite programminglanguage. He found Django to be a powerful and flexible Pythonframework that helps developers to produce high-quality webapplications in a short time.