 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Brandon Savage's Blog: An Intro To Zend_Navigation
by Chris Cornutt March 30, 2010 @ 13:33:08
As he progresses more in his work with the Zend Framework (and learns along the way) Brandon Savage is sharing some of the handy new things he's come across. In his latest post he looks at the Zend_Navigation component and gives you an overview of how it all works.
I wanted to write a primer that others could use to get started with Zend_Navigation. This is a short guide to how Zend_Navigation works, and how you can use it to improve your application.
His primer starts with a bit of vocabulary you'll need to know before you get started - things like MVC pages, URI pages and containers. He helps you create Zend_Navigation-enabled pages, both a simple one that just makes an object and a more complex one that uses a tree structure (as defined in an array) to help build the navigation element.
voice your opinion now!
zendnavigation navigation configuration tutorial
Tiger Heron Blog: First steps with PHP - booting a script, Part 1
by Chris Cornutt March 19, 2008 @ 08:48:48
On the Tiger Heron blog, there's a continuation of the series that Tony Freixas has been writing to following the beginning steps of working with PHP. First there was the download/install, then setting up a development environment. This time, he actually gets around to writing a bit of basic code.
Specifically, I will describe how I boot my PHP scripts and why I boot them the way I do. Part 1 shows how my requirements for code portability and maintainability influence the boot process. Part 2 will go into more detail about the specific steps executed by the boot code.
His basic task for the first example is to make a templating sort of system, calling a Navigation class to output links in list items. He outlines the goals of the project, what he's found for his current solution and some alternatives he's discovered along the way.
voice your opinion now!
development tutorial series environment task navigation
Tiffany Brown's Blog: Turn text files into pull down menus
by Chris Cornutt February 27, 2008 @ 09:35:00
Tiffany Brown shares a quick function she whipped up to create dropdown menus from the contents of a newline separated text file (or files).
I developed this PHP function for a project I'm working on. I'm posting it here in case I need it again, or in case you find it handy.
The function turns each line into an option tag making defining custom menus based on the contents of dynamically-given text files easy.
This could also be easily adapted to create navigations menus at the top of your pages with a few modifications to the HTML tags being used and some CSS to change the look of the list.
voice your opinion now!
text file dropdown menu form element navigation css
The Bakery: Five New Articles, Tutorials and Helpers
by Chris Cornutt September 11, 2007 @ 09:29:00
The Bakery has five new items they've recently posted - a few new articles, helper information and tutorials. Here's the list:
- CSV Helper - I was recently outputting some comma-delimited data and thought I would benefit from a simple csv helper
- p28n, the top to bottom persistent internationalization tutorial - For some developers, allowing a website to support multiple languages is essential. Luckily cakePHP 1.2 has the foundations available to make this possible.
- Tracking navigation history of a user - Many times it can be very useful to track the navigation history of a user. [...] With this HistoryComponent, it's extremely easy to handle such actions.
- Habtm hacks to menage columns in both models - I had a habtm relationship between two models and when i did a "findall" in a model i couldn't filter the rows with a clause from the the other model.
- SecureGet Component - I am not pretending this can replace ACL or more complex implementation, it's just a small component, inspired a bit from the Security component.
If you're a CakePHP developer, you'd do well to check out The Bakery for these and more great Cake-related articles, tutorials and information.
voice your opinion now!
csv internationalization navigation habtm secureget bakery csv internationalization navigation habtm secureget bakery
O'Reilly: Design Tips for Building Tag Clouds
by Chris Cornutt June 09, 2006 @ 06:07:07
On the O'Reilly OnLAMP.com site today, there's a new article with a few tips on making the tag clouds on your site successful from Jim Bumgardner, the author of Building Tag Clouds in Perl and PHP.
Tag clouds can be used effectively, and provide real value to a web site, or they can be tacked on as an afterthought, simply because they look cool, or to make the site appear similar to other, better web sites that offer them. Ultimately, you need to keep in mind their dual function, both as a graph of current activity, and as a navigation aid. Here are some design and implementation tips.
His list includes:
- Choose the right language
- Frequency sorting
- Avoid Random Mappings
- Try Different Maps
Each item has a brief explaination of what its about, and some include examples of what to do/what not to do.
voice your opinion now!
design six tips tag clouds navigation current activity design six tips tag clouds navigation current activity
Craig Freshwater's Blog: Using PHP for Website Navigation, Explained
by Chris Cornutt April 17, 2006 @ 07:19:20
Craig Freshwater, explains how in this new blog entry, PHP can be used to template your site with a few quick and easy steps.
PHP can be very useful in your website design, I use PHP for my websites difficult functions such as forums, blogs, chat, user forms, and shopping cart interface. But did you know you can use simple PHP for your website navigation systems?
The use of PHP for your websites header, left side navigation, and bottom of page information can be a great asset. Now I know what you are thinking, PHP can be complicated and intimidating to many of you, but first let me explain.
He tells it more from an "outsider's perspective", for someone not really familiar with PHP. There's a lot of introductory explaination and installation instructions on getting PHP working, but he does eventually get to the (very) simple templating example.
voice your opinion now!
website navigation tutorial website navigation tutorial
PHPMac.com: Two New Tutorials (Switch Navigation & A Simple Login)
by Chris Cornutt December 28, 2005 @ 06:30:58
PHPMac.com has two more new PHP tutorails today - Navigation using Switch and Single-Page Password Protection.
In the navigation tutorial, they show you a simpel way to use the switch() control to display different content based on a variable set in the $_GET array (URL string).
The second tutorial, Single-Page Password Protection, shows you quickly how to create a form that takes in a password and checks it against one hard-coded into the PHP script. If it validates, the "secret content" is shown.
Both of these tutorials are very simple, and, if you're not careful with them, could cause some security issues with your scripts. All in all, though, they're a good starting place...
voice your opinion now!
tutorial switch navigation simple login tutorial switch navigation simple login
|
Community Events
Don't see your event here? Let us know!
|