 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Debuggable Blog: Simple Data Access Control
by Chris Cornutt August 25, 2008 @ 07:56:50
In a new post to the Debuggable blog Felix Geisendorfer illustrates a simple access rights system that can be plugged into any CakePHP application you might be developing.
If your application is like most, then you have some basic permission requirements for your data. A simple scenario is the following. Blog posts can only be edited by their owners and administrators. Same goes for viewing unpublished blog posts.
His example modifies the typical "posts" controller to add in a new model (User) with a permission check (can) and a model that implements it into the PostsController to ensure that a user can view any given posting.
voice your opinion now!
post access control user permission model cakephp framework
PHP Zone: PHP Access Control - PHP5 CMS Framework Development
by Chris Cornutt July 15, 2008 @ 14:20:43
Over on the PHP Zone (from the DZone community site) there's a in-depth tutorial looking at the creation and management of an access control system (users, passwords and what they can do) in your PHP application. It's an excerpt from the Packt book PHP5 CMS Framework Development.
Many websites will want to control who has access to what. Once embarked on this route, it turns out there are many situations where access control is appropriate, and they can easily become very complex. So in this chapter we look at the most highly regarded model role-based access control and find ways to implement it. The aim is to achieve a flexible and efficient implementation that can be exploited by increasingly sophisticated software. To show what is going on, the example of a file repository extension is used.
They talk about some of the general considerations about access control (limiting the number of rules, common difficulties) and plenty of code/database schema to get you started.
voice your opinion now!
php5 cms development packt framework access control tutorial
Community News: Stablr Project Launched (A More Stable, PHP-Base Twitter)
by Chris Cornutt May 26, 2008 @ 10:29:28
Along with the popularity of Twitter has come one of it biggest problems - its instability. More and more people are using the service every day and some are leaving when they encounter the frustration of too much downtime. Enter a project that Graham Christensen is getting started - Stablr, a PHP-based version of the popular web service.
Stablr, the proposed name, will be the main gateway for it's users. People will post to Stablr, which will then (when it can) forward it to Twitter. If a Stablr users posts to Twitter directly, the message will be retrieved and replicated on Stablr. Responses to posts, direct messages, and tweets from friends of Stablr users would also be replicated.
He's already seen some great response from the community with offers to help and has taken it to the next level by coming up with a five-page document detailing the plans behind the project (using things like caching, an Access database and Jabber integration).
voice your opinion now!
twitter project stablr caching access database jabber
|
Community Events
Don't see your event here? Let us know!
|