 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Rob Allen: Integrating BjyAuthorize with ZendNavigation
by Chris Cornutt November 20, 2012 @ 13:57:09
Rob Allen has posted a technique for integrating the BjyAuthorize, a helpful module for access control in your Zend Framework 2 application, with the ZendNavigation module for user permissions-based navigation updates.
If you are using BjyAuthorize for ACL configuration and want to use ZendNavigation's ZendAcl integration features, then you need to set the Acl and Role information into ZendNavigation.
He includes the code you'll need to add to both the bootstrap of your application and the configuration to set up the "rule_providers" and "resource_providers". Then you can update your navigation settings to include "resource" and "rule" options to define with options a user can see.
voice your opinion now!
zendframework2 tutorial bjyauthorize acl navigation module
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
|
Community Events
Don't see your event here? Let us know!
|