MODx Web Development

Building dynamic websites with the PHP application framework and CMS

MODx Web Development

Starting
Antano Solar John

Building dynamic websites with the PHP application framework and CMS
$10.00
$39.99
RRP $23.99
RRP $39.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

+ Collection
Free Sample

Book Details

ISBN 139781847194909
Paperback276 pages

About This Book

  • Simple, step-by-step instructions detailing how to install, configure, and customize MODx
  • Covers detailed theory from the basics, to practical implementation
  • Learn the most common web requirements and solutions, and build a site in the process

Who This Book Is For

This book is ideal for those who want to learn to use MODx. Both beginner and experienced web developers will benefit from this comprehensive guide to MODx. No knowledge of PHP programming or any templating language is needed, but the more advanced chapters towards the end of the book will allow more confident developers to extend their applications even further by creating their own snippets.

Table of Contents

Chapter 1: What is MODx?
Content management system
An application framework
Web development methodologies
Why MODx?
Overview of the book
Summary
Chapter 2: Getting Started
Setting up the development environment
Downloading MODx
Documentation
Getting support
Summary
Chapter 3: MODx Basics
Site configuration
Changing the name of the site
The basic element of MODx: Documents
MODx Manager interface
Using the HTML editor
Creating the Front Page
QuickEdit module
Documents revisited
Summary
Chapter 4: Templating
Changing the template of a document
Creating a new template and giving it a category
Making the Home Page use the created template
Choosing a default template
Introducing template variables
Modifying the template to add dynamic behavior
Template variables
Creating a blog site
Snippet and chunk basics
Using a custom form for the Post a Blog ! page
Rich text editor for the blog content
Summary
Chapter 5: Authentication and Authorization
Create web users
Add the login snippet
Document group for friends
Restricting access for a document
Post moderation
User registration
Snippets and authorization
Summary
Chapter 6: Content Aggregation
Ditto
XML formats
Summary
Chapter 7: Creating Lists
Menu details in document properties
Authentication and authorization
Theming
More theming using chunks
Multiple calls
Summary
Chapter 8: Snippets
Working of snippets
Finding snippets
Learning about snippets
Using non-bundled snippets
Summary
Chapter 9: PHx
PHx in action
The PHx notation
Chapter 10: Simple Recipes
Forums
Image gallery
Emailing from forms
User profiles
Similar posts
Summary
Chapter 11: Creating Snippets
Learning to create a snippet
MODx API
Fortunes
Summary
Chapter 12: SEO, Deployment, and Security
SEO
Deployment
Security
Summary
Chapter 13: Plug-ins and Modules
Plug-ins and events
Modules
Summary

What You Will Learn

  • Build a complete, feature-rich website using MODx
  • Manage content easily using documents and containers
  • Manage users and access with authentication and authorization
  • Create templates to customize the look of your site
  • Learn how to enhance your website quickly with dynamic content such as recent posts and dynamic menus using core snippets
  • Learn the powerful templating language PHx to extend logic to templates
  • Use custom snippets to add more functionality such as forums and image galleries
  • Learn to create your own snippet for unique functionalities
  • Deploy a search-engine-optimized and secure site

In Detail

MODx is a content management system and PHP web application framework rolled into one. With the ease of a CMS and the extensibility of a framework, MODx allows you to develop professional-looking, intricate websites with its easy-to-use interface and flexible architecture. MODx provides reusable code called snippets most of which are so generic that, without any modification, they can serve multiple functionalities. The generic nature of the snippets makes it possible to get the perfect customization that is so hard in other content management systems.

This book will get web developers up-and-running with MODx. With step-by-step examples and illustrative screenshots, you will be guided through installation, configuration, and customization. By the end of the book, you will have created a powerful, dynamic website by using the individual elements of MODx, without the need for programming know-how.

Starting with a walk-through of installing MODx, you will quickly learn how to develop your site without having to use any programming language. Logical, step-by-step instructions will show you how to create your own unique site by adding and editing documents using the inbuilt TinyMCE editor. Change the look and feel of your site by creating your own templates using HTML, CSS, and widgets. By following the example of a blog site, you will learn how to extend your templates to allow rich user interactions through comments, posts, and forms. The book teaches a few core snippets such as Ditto and Wayfinder in detail. These powerful and flexible snippets will enable you to add multiple functionalities to your site. The book will also introduce you to many more snippets which will help you build some of the commonly required web functionalities such as forums and image galleries. Manage your users with authentication and authorization and make your site user-friendly with user groups, forums, and the use of PHx notations to embed logic in templates.

Through following this easy-to-use, step-by-step guide, by the end of the book you will have a fully functional, feature-rich MODx site with professional-looking, dynamic web pages that are totally customizable.

Authors

Table of Contents

Chapter 1: What is MODx?
Content management system
An application framework
Web development methodologies
Why MODx?
Overview of the book
Summary
Chapter 2: Getting Started
Setting up the development environment
Downloading MODx
Documentation
Getting support
Summary
Chapter 3: MODx Basics
Site configuration
Changing the name of the site
The basic element of MODx: Documents
MODx Manager interface
Using the HTML editor
Creating the Front Page
QuickEdit module
Documents revisited
Summary
Chapter 4: Templating
Changing the template of a document
Creating a new template and giving it a category
Making the Home Page use the created template
Choosing a default template
Introducing template variables
Modifying the template to add dynamic behavior
Template variables
Creating a blog site
Snippet and chunk basics
Using a custom form for the Post a Blog ! page
Rich text editor for the blog content
Summary
Chapter 5: Authentication and Authorization
Create web users
Add the login snippet
Document group for friends
Restricting access for a document
Post moderation
User registration
Snippets and authorization
Summary
Chapter 6: Content Aggregation
Ditto
XML formats
Summary
Chapter 7: Creating Lists
Menu details in document properties
Authentication and authorization
Theming
More theming using chunks
Multiple calls
Summary
Chapter 8: Snippets
Working of snippets
Finding snippets
Learning about snippets
Using non-bundled snippets
Summary
Chapter 9: PHx
PHx in action
The PHx notation
Chapter 10: Simple Recipes
Forums
Image gallery
Emailing from forms
User profiles
Similar posts
Summary
Chapter 11: Creating Snippets
Learning to create a snippet
MODx API
Fortunes
Summary
Chapter 12: SEO, Deployment, and Security
SEO
Deployment
Security
Summary
Chapter 13: Plug-ins and Modules
Plug-ins and events
Modules
Summary

Book Details

ISBN 139781847194909
Paperback276 pages
Read More

Recommended for You