Coder1
Aricles and Screencasts by Mike Milano
Today is: 21 August, 2008
Check todays hot topics or new pictures
Aricles and Screencasts by Mike Milano
Today is: 21 August, 2008
Check todays hot topics or new pictures
How to: Namespace in PHPNamespacing has been long awaited to enhance PHP OO development, and it looks like it's finally here. At first, I thought it was going to become available in PHP6, but it has been ported to PHP 5.3. What is a Namespace? Namespacing provides you the freedom to name your classes what you want without worrying about any other classes, native to PHP or otherwise, interfering with your names. PHP foreach value by reference
The best way to demonstrate this is to establish an objective. JQuery Sortables with PHP and MySQL
I recently worked on a project which required an unordered list to be re-ordered and then saved. I wasn't about to make users enter numbers next to each item so I looked toward JQuery's UI library. Objective: We will display a list of fruit. The user can then drag the fruit and click a button to save the new order in the database. An alternative to Pathauto
custom_url_rewrite is a function (not a hook) available in Drupal which gives you an alternative to configuring custom paths and storing them in the database. Since this is not a hook, it is suggested you put this in settings.php. You can convert the alias into the source, and vice versa. Theming the Drupal flashvideo module with swfobject.
Of course for this to work you're going to need to include swfobject.js in your template. How you do that depends on your theme and is a little beyond the scope of this article. Will you upgrade your Drupal 5 to 6, or wait till 7?I've upgraded to 6 already, or will upgrade soon 0% (0 votes) I'll wait for 7 0% (0 votes) Not sure yet 100% (1 vote) Total votes: 1 |
|||
|
Copyright © 2008, Mike Milano
|