Home Page Icon
Home Page
Table of Contents for
I. Drupal Basics
Close
I. Drupal Basics
by Brian Travis
Pro Drupal 7 for Windows Developlers
Copyright
About the Author
About the Technical Reviewer
Acknowledgments
Preface
I. Drupal Basics
1. Wherefore Drupal?
1.1. What is a CMS?
1.1.1. Content Management on the Web
1.1.2. Open Source Content Management Tools
1.2. The LAMP Stack
1.3. The Drupal Core
1.4. Security
1.5. Content Types
1.6. Contributed Modules
1.7. Themes
1.8. The Drupal Design Philosophy
1.9. Database
1.10. Forms
1.11. Security
1.12. Menus and Paths
1.13. Users, Roles, and Permissions
1.14. Summary
2. The Page Lifecycle
2.1. The Drupal Page Lifecycle
2.1.1. Configuration Bootstrap
2.1.2. Page Cache Bootstrap
2.1.3. Database Bootstrap
2.1.4. Variable Bootstrap
2.1.5. Session Bootstrap
2.1.6. Page Header Bootstrap
2.1.7. Language Bootstrap
2.1.8. Full Bootstrap
2.2. Menu Handler
2.2.1. Drupal vs. the .NET Page Lifecycle
2.3. Menus
2.3.1. The Menu Tree
2.4. Theming
2.5. Summary
3. PHP and MySQL
3.1. PHP
3.1.1. Just Enough PHP Syntax
3.1.1.1. Scripting Blocks
3.1.1.2. Comments
3.1.1.3. Types
3.1.1.4. Strings
3.1.1.5. Operators
3.1.1.6. Conditional Statements
3.1.1.7. Objects
3.1.1.8. Arrays
3.1.1.9. Loops
3.1.1.10. Functions
3.1.1.11. Exceptions
3.1.2. Drupal Coding Conventions
3.1.2.1. Control Structures
3.1.2.2. Function Calls
3.1.2.3. Function Declarations
3.1.2.4. Arrays
3.1.3. Naming Conventions
3.1.4. Doxygen
3.2. MySQL
3.2.1. MySQL vs. SQL Server
3.2.2. Enterprise Data
3.3. Summary
4. Drupal Installation and Configuration
4.1. Drupal as a Standard Service
4.2. Installing Drupal for Yourself
4.2.1. Apache Configuration
4.2.2. Database
4.2.3. Site Configuration
4.2.4. Clean URLs
4.3. Visual Studio
4.3.1. Drupal Project
4.3.2. Debugging
4.4. Summary
II. Development
5. Module Development
5.1. Blocks
5.2. Modules
5.3. Hooks
5.4. Forms
5.4.1. Form Validate Hook
5.4.2. Form Submit Hook
5.4.3. XML Data Source
5.4.4. Helper Functions
5.4.5. Building the Block
5.5. Menus
5.6. Summary
6. Content Types and Permissions
6.1. Creating Content
6.1.1. Creating Content
6.2. WYSIWYG Editing
6.3. Custom Content
6.4. Permissions
6.4.1. Users and Roles
6.4.1.1. Adding a Role
6.4.2. Programming Permissions
6.4.2.1. The Permission Hook
6.4.2.2. Access Hook
6.5. Attached Fields
6.5.1. Form Alter
6.5.2. Accessing Fields
6.5.3. Updating Field Information
6.6. Summary
7. Theming
7.1. The Theme Layer
7.2. Subtheme Creation
7.3. Theme Debugging Tools
7.4. CSS Classes
7.5. The Theme Function
7.5.1. The Theme Hook
7.6. Templates
7.6.1. The HTML Template
7.6.2. Template Variables
7.6.3. Page Rendering
7.6.4. Template Interaction
7.6.5. Other Templates
7.6.6. Template Specificity
7.7. Summary
8. Testing
8.1. Getting Started
8.2. Testing Fundamentals
8.2.1. Test-Driven Development
8.3. Developing Tests
8.3.1. Developing a Unit Test Harness
8.3.2. Web Testing
8.3.2.1. Assign a Block to a Region
8.3.2.2. Getting a Page
8.3.2.3. Changing the User Profile
8.3.2.4. Testing Administration Values
8.3.2.5. Negative Tests
8.4. Code Coverage
8.5. Summary
III. Databases and Deployment
9. The Database Layer
9.1. Data Abstraction
9.1.1. The Database API
9.2. Programming Against the Database API
9.3. Static Queries
9.3.1.
9.3.1.1. Prefixing
9.3.1.2. Placeholders
9.3.1.3. Fetching Result Sets
9.4. Dynamic Queries
9.4.1. Dynamic Select Query
9.4.1.1. Simple Select Query
9.4.1.2. Joins
9.4.1.3. Fields
9.4.1.4. The Distinct Property
9.4.1.5. Expressions
9.4.1.6. Ordering
9.4.1.7. Grouping
9.4.1.8. Ranges and Limits
9.4.1.9. Counting
9.4.1.10. Query Alteration
9.4.2. Dynamic Insert Query
9.4.2.1. Multi-Insert Form
9.4.3. Dynamic Update Query
9.4.4. Dynamic Delete Query
9.4.5. Dynamic Merge Query
9.4.5.1. Expressions
9.4.6. Conditional Clauses
9.4.6.1. Nested Conditionals
9.4.6.2. Null Values
9.4.7. Error Handling
9.4.8. Transactions
9.5. Summary
10. Deployment
10.1. The .info File
10.2. The .install File
10.2.1. Building the .install File
10.2.1.1. The Enable and Install Hooks
10.2.1.1.1. The Install Hook
10.2.1.1.2. The Enable Hook
10.2.1.1.3. Module Changes
10.2.1.2. The Disable and Uninstall Hooks
10.2.1.2.1. The Disable Hook
10.2.1.2.2. The Uninstall Hook
10.2.1.3. The Update Hook
10.2.1.3.1. Creating an Update
10.2.1.3.2. Updating Your System
10.3. Delivering your Module
10.3.1. Documentation
10.4. Summary
A. Windows Development Environment
A.1. WAMP Stack
A.2. Development Environments
A.3. WampServer
A.4. Visual Studio and VS.Php
A.5. IIS and SQL Server
A.5.1. Summary and Caveat
A.6. Drush
A.6.1. Installing Drush
A.6.2. Running Drush
A.7. Summary
B. From Start to Omega: Using the Omega Starter Kit
B.1. 960 Grid System
B.2. Designing in Photoshop
B.3. Omega Sub-Theme
B.3.1. Creating your Omega Sub-Theme
B.3.2. Mapping Photoshop to Omega
B.3.3. Configuring Zones
B.3.4. Blocks
B.3.5. Content Generation
B.4. Theming with CSS
B.4.1. Theming with Images
B.4.2. CSS Positioning
B.4.3. Template File
B.5. Summary
C. Selected Reference Material
C.1. Core Template Variables
C.2. SimpleTest Reference
C.3. Install Hooks
C.4. Schema API
C.4.1. Schema API Classes
C.4.2. Schema API Functions and Methods
C.4.3. Schema Hook
C.5. Globals
C.6. Field CRUD API
C.7. Field Attach API
C.8. Drush Reference
C.9. Summary
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Preface
Next
Next Chapter
1. Wherefore Drupal?
Part I. Drupal Basics
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset