Categories
Ebooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Computer in the office
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Multimedia trainings
- Real estate
- Persuasion and NLP
- Taxes
- Social policy
- Guides
- Presentations
- Leadership
- Public Relation
- Reports, analyses
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
E-press
- Architektura i wnętrza
- Biznes i Ekonomia
- Home and garden
- E-business
- Finances
- Personal finance
- Business
- Photography
- Computer science
- HR & Payroll
- Computers, Excel
- Accounts
- Culture and literature
- Scientific and academic
- Environmental protection
- Opinion-forming
- Education
- Taxes
- Travelling
- Psychology
- Religion
- Agriculture
- Book and press market
- Transport and Spedition
- Healthand beauty
-
History
-
Computer science
- Office applications
- Data bases
- Bioinformatics
- IT business
- CAD/CAM
- Digital Lifestyle
- DTP
- Electronics
- Digital photography
- Computer graphics
- Games
- Hacking
- Hardware
- IT w ekonomii
- Scientific software package
- School textbooks
- Computer basics
- Programming
- Mobile programming
- Internet servers
- Computer networks
- Start-up
- Operational systems
- Artificial intelligence
- Technology for children
- Webmastering
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Narrative poetry
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
School textbooks
-
Popular science and academic
- Archeology
- Bibliotekoznawstwo
- Cinema studies
- Philology
- Polish philology
- Philosophy
- Finanse i bankowość
- Geography
- Economy
- Trade. World economy
- History and archeology
- History of art and architecture
- Cultural studies
- Linguistics
- Literary studies
- Logistics
- Maths
- Medicine
- Humanities
- Pedagogy
- Educational aids
- Popular science
- Other
- Psychology
- Sociology
- Theatre studies
- Theology
- Economic theories and teachings
- Transport i spedycja
- Physical education
- Zarządzanie i marketing
-
Guides
-
Game guides
-
Professional and specialist guides
-
Law
- Health and Safety
- History
- Road Code. Driving license
- Law studies
- Healthcare
- General. Compendium of knowledge
- Academic textbooks
- Other
- Construction and local law
- Civil law
- Financial law
- Economic law
- Economic and trade law
- Criminal law
- Criminal law. Criminal offenses. Criminology
- International law
- International law
- Health care law
- Educational law
- Tax law
- Labor and social security law
- Public, constitutional and administrative law
- Family and Guardianship Code
- agricultural law
- Social law, labour law
- European Union law
- Industry
- Agricultural and environmental
- Dictionaries and encyclopedia
- Public procurement
- Management
-
Tourist guides and travel
- Africa
- Albums
- Southern America
- North and Central America
- Australia, New Zealand, Oceania
- Austria
- Asia
- Balkans
- Middle East
- Bulgary
- China
- Croatia
- The Czech Republic
- Denmark
- Egipt
- Estonia
- Europe
- France
- Mountains
- Greece
- Spain
- Holand
- Iceland
- Lithuania
- Latvia
- Mapy, Plany miast, Atlasy
- Mini travel guides
- Germany
- Norway
- Active travelling
- Poland
- Portugal
- Other
- Russia
- Romania
- Slovakia
- Slovenia
- Switzerland
- Sweden
- World
- Turkey
- Ukraine
- Hungary
- Great Britain
- Italy
-
Psychology
- Philosophy of life
- Kompetencje psychospołeczne
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Audiobooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Real estate
- Persuasion and NLP
- Taxes
- Guides
- Presentations
- Leadership
- Public Relation
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
History
-
Computer science
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
Popular science and academic
-
Guides
-
Professional and specialist guides
-
Law
-
Tourist guides and travel
-
Psychology
- Philosophy of life
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Videocourses
-
Data bases
-
Big Data
-
Biznes, ekonomia i marketing
-
Cybersecurity
-
Data Science
-
DevOps
-
For children
-
Electronics
-
Graphics/Video/CAX
-
Games
-
Microsoft Office
-
Development tools
-
Programming
-
Personal growth
-
Computer networks
-
Operational systems
-
Software testing
-
Mobile devices
-
UX/UI
-
Web development
-
Management
Podcasts
E-book details
Log in, If you're interested in the contents of the item.
Django 1.0 Website Development. Build powerful web applications, quickly and cleanly, with the Django application framework
Ayman Hourieh, Jacob Kaplan-Moss, Ayman Hourieh (EUR)
Ebook
Django is a high-level Python web framework that was developed by a fast-moving online-news operation to meet the stringent twin challenges of newsroom deadlines and the needs of web developers. It is designed to promote rapid development and clean, pragmatic design and lets you build high-performing, elegant web applications rapidly. Django focuses on automating as much as possible and adhering to the DRY (Don't Repeat Yourself) principle, making it easier to build high-performance web applications faster, with less code.
This book will show you how to assemble Django's features and take advantage of its power to design, develop, and deploy a fully-featured web site. It will walk you through the creation of an example web application, with lots of code examples.
Specially revised for version 1.0 of Django, the book starts by introducing the main design concepts in Django. Next, it leads you through the process of installing Django on your system. After that, you will start right away on building your social bookmarking application using Django. Various Django 1.0 components and sub-frameworks will be explained during this process, and you will learn about them by example.
In each chapter, you will build one or more of the features that are essential in Web 2.0 applications, like user management, tags, and AJAX. You will also learn about good software development practices, such as keeping your application secure, and automating testing with unit tests. By the end of the book, you will have built a fully functional real-life Web 2.0 application, and learned how to deploy it to a production server.
This book will show you how to assemble Django's features and take advantage of its power to design, develop, and deploy a fully-featured web site. It will walk you through the creation of an example web application, with lots of code examples.
Specially revised for version 1.0 of Django, the book starts by introducing the main design concepts in Django. Next, it leads you through the process of installing Django on your system. After that, you will start right away on building your social bookmarking application using Django. Various Django 1.0 components and sub-frameworks will be explained during this process, and you will learn about them by example.
In each chapter, you will build one or more of the features that are essential in Web 2.0 applications, like user management, tags, and AJAX. You will also learn about good software development practices, such as keeping your application secure, and automating testing with unit tests. By the end of the book, you will have built a fully functional real-life Web 2.0 application, and learned how to deploy it to a production server.
- Django 1.0 Web Site Development
- Django 1.0 Web Site Development
- Credits
- About the author
- About the reviewer
- Preface
- What this book covers
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code for the book
- Errata
- Piracy
- Questions
- 1. Introduction to Django
- MVC pattern in web development
- Why Python?
- Why Django?
- Tight integration between components
- Object-Relational Mapper
- Clean URL design
- Automatic administration interface
- Advanced development environment
- Multilingual support
- History of Django
- Summary
- 2. Getting Started
- Installing the required software
- Installing Python
- Installing Python on Windows
- Installing Python on UNIX/Linux
- Installing Python on Mac OS X
- Installing Django
- Installing Django on Windows
- Installing Django on UNIX/Linux and Mac OS X
- Installing a database system
- Installing Python
- Creating your first project
- Creating an empty project
- Setting up the database
- Launching the development server
- Summary
- Installing the required software
- 3. Building a Social Bookmarking Application
- A word about Django terminology
- URLs and views: creating the main page
- Creating the main page view
- Creating the main page URL
- Models: designing an initial database schema
- The link data model
- The user data model
- The bookmark data model
- Templates: creating a template for the main page
- Putting it all together: generating user pages
- Creating the URL
- Writing the view
- Designing the template
- Populating the model with data
- Summary
- 4. User Registration and Management
- Session authentication
- Creating the login page
- Enabling logout functionality
- Improving template structure
- User registration
- Django forms
- Designing the user registration form
- Account management
- Summary
- Session authentication
- 5. Introducing Tags
- The tag data model
- Creating the bookmark submission form
- Restricting access to logged-in users
- Methods for browsing bookmarks
- Improving the user page
- Creating a tag page
- Building a tag cloud
- A word on security
- SQL injection
- Cross-Site Scripting (XSS)
- Summary
- 6. Enhancing the User Interface with AJAX
- AJAX and its advantages
- Using an AJAX framework in Django
- Downloading and installing jQuery
- The jQuery JavaScript framework
- Element selectors
- jQuery methods
- Hiding and showing elements
- Accessing CSS properties and HTML attributes
- Manipulating HTML documents
- Traversing the document tree
- Handling events
- Sending AJAX requests
- What next?
- Implementing live searching of bookmarks
- Implementing basic searching
- Implementing live searching
- Editing bookmarks in place
- Implementing basic bookmark editing
- Implementing in-place editing of bookmarks
- Auto-completion of tags
- Summary
- 7. Voting and Commenting
- Sharing bookmarks on the main page
- The SharedBookmark data model
- Modifying the bookmark submission form
- Browsing and voting for shared bookmarks
- The popular bookmarks page
- Commenting on bookmarks
- Enabling the comments application
- Creating a view for comments
- Displaying comments and a comment form
- Creating comment templates
- Summary
- Sharing bookmarks on the main page
- 8. Creating an Administration Interface
- Activating the administration interface
- Customizing the administration interface
- Customizing listing pages
- Overriding administration templates
- Users, groups, and permissions
- User permissions
- Group permissions
- Using permissions in views
- Summary
- 9. Advanced Browsing and Searching
- Adding RSS feeds
- Creating the recent bookmarks feed
- Customizing item fields
- Creating the user bookmarks feed
- Linking feeds to HTML pages
- Creating the recent bookmarks feed
- Advanced searching
- Retrieving objects with the database API
- Advanced queries with Q objects
- Improving the search feature
- Organizing content into pages (pagination)
- Summary
- Adding RSS feeds
- 10. Building User Networks
- Building friend networks
- Creating the friendship data model
- Writing views to manage friends
- The friends list view
- Creating the add friend view
- Inviting friends via email
- The invitation data model
- The Invite A Friend form and view
- Handling activation links
- Improving the interface with messages
- Summary
- Building friend networks
- 11. Extending and Deploying
- Internationalization (i18n)
- Marking strings as translatable
- Creating translation files
- Enabling and configuring the i18n system
- Improving performance with caching
- Enabling caching
- Local memory caching
- Database caching
- File system caching
- Memcached
- Configuring caching
- Caching the whole site
- Caching specific views
- Unit testing
- The test client
- Testing the registration view
- Enabling caching
- Deploying Django
- The production web server
- The production database
- Turning off debug mode
- Changing configuration variables
- Setting error pages
- Summary
- Internationalization (i18n)
- 12. What Next?
- Custom template tags and filters
- Model managers and custom SQL
- Generic views
- Contributed sub-frameworks
- Flatpages
- Sites
- Markup filters
- Humanize
- Sitemaps
- Cross-Site Request Forgery protection (CSRF)
- Message system
- Subscription system
- User scores
- Summary
- Title: Django 1.0 Website Development. Build powerful web applications, quickly and cleanly, with the Django application framework
- Author: Ayman Hourieh, Jacob Kaplan-Moss, Ayman Hourieh (EUR)
- Original title: Django 1.0 Website Development. Build powerful web applications, quickly and cleanly, with the Django application framework
- ISBN: 9781847196798, 9781847196798
- Date of issue: 2009-03-10
- Format: Ebook
- Item ID: e_3baj
- Publisher: Packt Publishing