Form Validation with Codeigniter 1.7
Form validation is an important part of any application. Take a look at your favorite web application, notice that there are many forms in these web apps, and it is important that they be secure. It is also important that you have rules that should be adhered to; this also helps to keep a layer of security.
In this article by Adam Griffiths, author of CodeIgniter 1.7 Professional Development, you will:
- Learn how the form validation process works
- Build a contact form
- Apply validation rules to the form's input fields
- Use callbacks to create your own rules
We will cover database interaction seperately.
Read Form Validation with Codeigniter 1.7 in fullDatabase Interaction with Codeigniter 1.7
Having seen form validation in the previous article, we will now cover database interaction. Databases are the backbone behind any Web application. Without a database, you'd have nowhere to hold all of your data, and SQL queries can become long and cumbersome to type out. Thankfully, CodeIgniter gives us a brilliantly simple way to interact with our Database. The database library also makes changing between database types—from MySQL to Oracle, for example—easier, because it acts as a wrapper and provides many functions for us to use on the database.
In this article by Adam Griffiths, author of CodeIgniter 1.7 Professional Development, you will:
- Perform database queries with the database library
- Return query results using the database helper functions
- Create queries using the active record library
- Learn how to cache active record queries
- Modify database tables using database forge
Programming PHP-Nuke
In the previous article of the series by Douglas Paterson, author of Building Websites with PHP-Nuke, we transformed the look of the Dinosaur Portal with the help of a new PHP-Nuke theme. In this article, which is the concluding article of the article series, we will look at programming PHP-Nuke. Specifically, this means creating new blocks and modules. Before we get stuck into that, we will have a look at what actually happens inside PHP-Nuke when a page is requested by a browser.
After that, we will create a new block, a better version of the Dinosaur of the Day block we created in Article 4. That, if you recall, was a static HTML block, and we had hard-coded the image of the dinosaur and its title into the block. Here we will create a block that takes the image to display and title of the dinosaur from the database. This will introduce us to data access in PHP-Nuke, a topic that you will use a lot as you begin to code more with PHP-Nuke.
Read Programming PHP-Nuke in fullDocumentation with phpDocumentor: Part 2
Read Part One of Documentation with phpDocumentor here.
Read Documentation with phpDocumentor: Part 2 in fullDocumentation with phpDocumentor: Part 1
In this two-part article by Dirk Merkel, author of Expert PHP 5 Tools, we will take a look at documentation. We will learn to create code-level documentation using phpDocumentor, PHP's entry into the xDoc family of documentation tools and the de facto standard for documenting PHP code. Specifically, we will install phpDocumentor. Next, we will learn the general syntax for DocBlocks and how to run phpDocumentor to generate the documentation.
Read Documentation with phpDocumentor: Part 1 in fullInteractive Page Regions with Drupal 6: Part 2
Read Part One of Interactive Page Regions with Drupal 6 here.
Read Interactive Page Regions with Drupal 6: Part 2 in fullInteractive Page Regions with Drupal 6: Part 1
In this two-part article by J. Ayen Green, author of Drupal 6 Attachment Views, you will learn the following:
- How to configure Drupal's Contact system
- What the default Contact system does (and does not do)
- How to add just a little pizazz to a page with an Attachment view and a module
- How to add the Contact form to a view
- The first steps you need to take with Drupal's module architecture and hook mechanism
- How to modify the Contact form via a custom module
- How to use an add-on module to make the Contact form available in a view
- How to create an Attachment view
Drupal and Ubercart 2.x: Install a Ready-made Drupal Theme
Consider that you have built an e-store, and it is full of products, has great functionality, and offers the client a great browsing experience. The only problem is that you're still using the default Drupal theme, so your website looks too ordinary and rather ugly. People won't be able to perform proper searches and you cannot interfere with the UI by simply promoting items from your stock or communicating special deals and offers.
This article by George Papadongonas and Yiannis Doxaras, authors of Drupal E-commerce with Ubercart 2.x, shows you how to install a ready-made theme, free or commercial, and use it as is.
Read Drupal and Ubercart 2.x: Install a Ready-made Drupal Theme in fullDrupal and Ubercart 2.x: Customizing a theme
In the previous article we saw how to replace the default Drupal theme by installing a ready-made theme, free or commercial, and use it as is. In this article by George Papadongonas and Yiannis Doxaras, authors of Drupal E-commerce with Ubercart 2.x, we will learn learn how to customize your frontend, to get the look and feel of your site to match your corporate visual identity. You will learn to use your company logo and colors to create a familiar and friendly environment for your visitors.
Read Drupal and Ubercart 2.x: Customizing a theme in fullDrupal and Ubercart 2.x: Creating a Theme from Scratch Using the Zen Theme
In the previous articles by George Papadongonas and Yiannis Doxaras, authors of Drupal E-commerce with Ubercart 2.x, we learnt how to install a ready-made theme and how to customize it, thus offering the client a great browsing experience. In this article we will learn how to create a theme from scratch using the Zen Theme.
Read Drupal and Ubercart 2.x: Creating a Theme from Scratch Using the Zen Theme in full

