 | News Feed |
Sections
Community Events
|
| feed this: |  |
Zend Developer Zone: SourceForge Uses Zend Framework to Implement OpenID
posted Wednesday May 14, 2008 @ 07:51:31
voice your opinion now!
BY CHRIS CORNUTT
The Zend Developer Zone has come across an interesting face about the SourceForge website - it uses the Zend Framework to add OpenID functionality to its pages.
According to the press release from SF about their OpenID support:
OpenID is getting tremendous traction and we're happy to be jumping into it. it's bringing us back in touch with fresh web (2.0) technology. [...] We've spent the past couple weeks on it - integrating the Zend Framework OpenID component into our site code. we like the framework as a whole and I personally hope to use more of it in the future.
There might be a few kinks in the process, so if you're seeing issues with your OpenID working on their site, check out the FAQ they've posted to help.
tagged with: sourceforge zendframework openid support release component
Padraic Brady's Blog: Zend Framework Blog Tutorial - Part 7 Authorisation with Zend_Acl & Styling
posted Monday May 12, 2008 @ 11:15:49
voice your opinion now!
BY CHRIS CORNUTT
Padraic Brady is up to part seven of his blog creation (with the Zend Framework) series, tracking his development paths and though processes along the way. This new part of the seres looks at using Zend_Acl for user management and changing up some of the style of the site.
We previously covered how to authenticate an author to the blog, but we still have nothing ensuring only authenticated authors can access the new Administration Module. This is the domain of Zend_Acl, an implementation of an Access Control List system which limits access to resources by the roles assigned to a user.
He starts by helping you understand access control lists including roles and privileges. He plans out the different roles that he wants the application to have first (always a good first step) and then implements them in a class extending the Zend_Acl component. He wraps this all in a front controller to make it easy to use.
He also tosses in a bit there at the end about CSS and styling to handle the forms for login and the administration piece of the blog he created earlier.
tagged with: zendframework blog application example authorize zendacl styling
Padraic Brady's Blog: Zend Framework Blog Tutorial - Part 6 Zend_Form & Zend_Auth
posted Thursday May 08, 2008 @ 09:33:36
voice your opinion now!
BY CHRIS CORNUTT
Padraic Brady has continued his series about making a sample blogging application with the Zend Framework in a new blog post, part six - a focus on Zend_Form and Zend_Auth.
In the previous entry, we created a new Administration Module to hold blog management functionality, added a Module specific layout for it, and discussed the upcoming need to ensure this is only accessible by authorised Authors. In this entry I'll unravel some of Zend_Form's mysteries in adding a login form, before using Zend_Auth to implement authentication for authors.
He includes the code (controller and view) to add the login form as a part of the Author functionality and, using a few decorators to help him build the form how he likes it, extends the Zend_Form component to make his form with username, password and submit elements. He throws in some validation and a bit of error checking to finish it off.
tagged with: zendframework blog application tutorial zendform zendauth
Markus Wolff's Blog: Fulltext search as a webservice
posted Wednesday May 07, 2008 @ 12:57:47
voice your opinion now!
BY CHRIS CORNUTT
In a recent blog entry about a fulltext searching solution, Markus Wolff hacked together in a few hours with Zend_Search_Lucene:
While working at some really old code that provided a fulltext search feature, I was at one point incredibly pissed rather unsatisfied due to the fact that said code resisted all attempts to debug it. This lead to the decision to sit down on a rainy weekend to try if I couldn't come up with something more useful, and most importantly, scalable.
His method allowed for separation between the indexing and the main app and how he changes some of his methods when he learned that Solr did something very similar. He also lays out some example XML content and how it's handled in his script (via a SimpleXML object).
tagged with: fulltext search xml document zendsearchlucene zendframework solr
Andi Gutmans' Blog: Launched andigutmans.com
posted Monday May 05, 2008 @ 12:01:26
voice your opinion now!
BY CHRIS CORNUTT
Andi Gutmans of Zend has posted about the next step in his personal growth on the internet - a personal site/blog of his own over at andigutmans.com.
For years I've wanted to run a personal Web site but never found the time to do it. A couple of weeks ago a few Zenders and I started leasing a dedicated server which gave us each a bit more hosting flexibility. Once we got the machine up and running I decided it was finally time to actually launch my own personal Web site.
He lists the technologies he's using including the Zend Framework, the Zend_Gdata component and the Zend_Cache (for local caching of his blog feeds from Blogger).
tagged with: andigutmans blog personal website zendframework gdata cache twitter
Padraic Brady's Blog: An Example Zend Framework Blog - Part 5 Models w/Zend_Db & an Admin Module
posted Thursday May 01, 2008 @ 10:25:06
voice your opinion now!
BY CHRIS CORNUTT
Padraic Brady is on part five of his series looking at making a blogging tool with the Zend Framework today. This time he focuses on the database side of things, working with models and making an admin module.
First of all I decided to add an Entries Model and Authors Model to the mix, primarily to get ready for when we can add new entries to our blog. This leads to where we can create new Entries; we add an Administration Module to the application with it's own distinct Layout.
He starts by making the database schema, an entries and authors table, before starting in on the models. They're made based off of the Zend_Db component's structure and they let the application interact with the data in the tables easily. His code for the modules is included as well as the controller and view for the admin module.
tagged with: zendframework model zendb zendlayout controller administration module
Padraic Brady's Blog: ZF Blog App - Part 4 Design with Blueprint CSS & Zend_Layout
posted Wednesday April 30, 2008 @ 10:21:43
voice your opinion now!
BY CHRIS CORNUTT
Padraic Brady has posted part four today detailing his development process for a piece of blogging software with the Zend Framework. This part focuses on the design stage of the application.
In this article we're going to take a stab at setting up a default blog style, using some filler content, and finally capturing the design with a Zend_View template to be consumed by Zend_Layout as a common HTML Layout for the entire future blog.
He uses the Blueprint CSS framework for his projects, a simple system that helps you lay out pages it a bit more sensible fashion without having to worry about the underlying CSS so much. He shows how to integrate the library into his project and gives some sample HTML to style with it. Then, with a little help from the Zend_Layout component, he splits it up into a layout that can be used over the entire website (code included).
tagged with: zendframework blueprint css zendlayout tutorial design template blog
Zend Developer Zone: View Helpers in Zend Framework
posted Tuesday April 29, 2008 @ 14:38:27
voice your opinion now!
BY CHRIS CORNUTT
The Zend Developer Zone has posted a new tutorial (from Matthew Weier O'Phinney) about a handy feature of the Zend Framework's view layer - view helpers that can be added in and reused across an application to do some pretty cool stuff.
A View Helper is simply a class that follows particular naming conventions, When attached to a view object, you can call the helper as if it were a method of the view object itself. The View object retains helper instances, which means that they retain states between calls.
View helpers can be use to do things like manipulate view data for more complex operations and carrying over data between two views, limiting the number of fetches that have to be done. He shows how to create a simple helper - My_Helper_FooBar - that just appends "fooBar " to whatever's passed in. He also talks about some of the default view helpers (like form fields), partials, the doctype() helper, capturing/caching content to be used later and the use of placeholders.
tagged with: zendframework view helper form partial doctype capture placeholder
Padraic Brady's Blog: An Example Zend Framework Blog App - Part 3 A Simple Hello World Tutorial
posted Tuesday April 29, 2008 @ 12:57:56
voice your opinion now!
BY CHRIS CORNUTT
Padraic Brady has posted part three in his look at making a blogging application with the Zend Framework. This time get gets down and gets into the code.
It's almost obligatory when introducing a new programming topic, that the author present the simplest possible example. Usually this means getting a programming language or framework to print "Hello World" to the screen. I'm going to be no different. So much for originality...
He shows how to set up everything, down to the Apache VirtualHost directive and hosts file to get the web server and localhost working correctly. He includes the code for the boostrap file and how to create your first controller (along with its view, of course).
tagged with: zendframework helloworld tutorial blog controller view bootstrap
|