PHP

Manage Your Money with Simple Invoices

by | May 2010 | MySQL e-Commerce Open Source PHP

Simple Invoices provides freelancers, non-profits, and small business a user-friendly way to bill customers and track invoices. It's an application for people who don't want the hassle of larger accounting programs, such as GNU Cash, Quicken, or Quickbooks.

This article on Simple Invoices by Michael Badger, author of Scratch 1.4 Beginner's Guide and Zenoss Core Network and System Monitoring, provides an alternative to bulky accounting programs and the haphazard system of managing individual files by providing an intuitive web-based invoicing system. Because it's open source project, you enjoy free access to your software and your invoicing data.

Read Manage Your Money with Simple Invoices in full

Form Validation with Codeigniter 1.7

by Adam Griffiths | April 2010 | Open Source PHP Web Development

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 full

Database Interaction with Codeigniter 1.7

by Adam Griffiths | April 2010 | Open Source PHP Web Development

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
Read Database Interaction with Codeigniter 1.7 in full

Programming PHP-Nuke

by Douglas Paterson | April 2010 | MySQL Content Management Open Source PHP

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 full

Documentation with phpDocumentor: Part 1

by Dirk Merkel | March 2010 | MySQL Open Source PHP

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 full

Interactive Page Regions with Drupal 6: Part 1

by J. Ayen Green | March 2010 | MySQL Content Management Drupal PHP Web Development

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
Read Interactive Page Regions with Drupal 6: Part 1 in full

Drupal and Ubercart 2.x: Install a Ready-made Drupal Theme

by George Papadongonas Yiannis Doxaras | March 2010 | MySQL Drupal e-Commerce Open Source PHP Web Development

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 full

Drupal and Ubercart 2.x: Customizing a theme

by George Papadongonas Yiannis Doxaras | March 2010 | MySQL Drupal e-Commerce Open Source PHP Web Development

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 full
Syndicate content
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software