LogoPhly, boy, phly
the weblog and site of Matthew Weier O'Phinney

Monday, May 5. 2008

Form Decorators Tutorial posted

As a continuing part of my MVC series, I've posted a new article on Form Decorators up on the DevZone.

I'm hoping this will be the definitive guide to using form decorators. I cover the design decisions behind them, basics of operation, how to customize output by mixing and matching standard decorators, and how to create your own custom decorators. Among the examples are how to create a table-based layout for your forms (instead of the dynamic list layout used by default), and how to use a View Script as your form decorator in order to have full control over your form layout.

So, if you've been playing with Zend_Form and having trouble wrapping your head around decorators, give it a read!

Posted by Matthew Weier O'Phinney in PHP at 10:25 | Comments (0) | Trackbacks (0)
Defined tags for this entry: mvc, php, zend framework

Monday, April 28. 2008

Zend Framework Q&A Session

With 1.0 and 1.5 of Zend Framework now released, there are a lot of questions flying around -- what will we do next, what components to expect, what are some of the best practices, etc. So, we're going to have an open Question and Answer Session webinar, with all of us on the internal team.

If you have a question you want answered, please be kind enough to submit your question in advance, so we have time to actually think about it (though you can always broadside us during the webinar).

Sign up in advance so you don't miss out!

Posted by Matthew Weier O'Phinney in PHP at 14:50 | Comments (3) | Trackbacks (0)
Defined tags for this entry: php, zend framework

View Helpers Tutorial on DevZone

I have another tutorial in my Zend Framework MVC series up on DevZone today, this time on View Helpers. If you're curious on how to create view helpers, override the standard view helpers, or how some of the standard view helpers such as partials and placeholders work, give it a read!

Posted by Matthew Weier O'Phinney in PHP at 09:51 | Comments (0) | Trackbacks (0)
Defined tags for this entry: mvc, php, zend framework

Monday, April 14. 2008

ZF Plugins Tutorial on DevZone

I'm doing a series of articles on various Zend Framework MVC topics for the Zend Developer Zone. Last week, I covered Action Helpers. This week, I cover Front Controller Plugins. If you've ever been mystified by or curious about this subject, head on over and give it a read!

Posted by Matthew Weier O'Phinney in PHP at 09:22 | Comments (4) | Trackbacks (0)
Defined tags for this entry: mvc, php, zend framework

Monday, April 7. 2008

Action Helpers in ZF

I've posted a new article on Action Helpers in Zend Framework's MVC on the Zend Developer Zone. If you've ever wanted more information on these, follow the link.

Posted by Matthew Weier O'Phinney in PHP at 10:11 | Comments (0) | Trackbacks (0)
Defined tags for this entry: mvc, php, zend framework

Friday, April 4. 2008

DHH on PHP

Somebody on Twitter pointed this out, and I thought I'd spread the word: DHH of Rails fame has posted a nice, short, and very interesting thought on "The immediacy of PHP".

I've been delving a little into Rails lately myself, and what I find is: use the right tool for the job. For green-field, self-hosted projects, Rails is not a bad choice, and offers a very easy way to get your application up and running quickly. But due to the fact that PHP was built for the web, there are any number of tasks that are simpler and faster to accomplish using it. Evaluate your needs carefully, and choose the tool that best addresses them.

It's nice to see leaders of projects like Rails having this same attitude. It's a breath of fresh air in the competitive market of web development frameworks.

Posted by Matthew Weier O'Phinney in PHP at 09:06 | Comment (1) | Trackback (1)
Defined tags for this entry: mvc, php, rails

Thursday, April 3. 2008

Zend Framework 1.5 Podcast

Cal has released a new PHP Abstract podcast today on the Zend Developer Zone, an interview with Wil Sinclair, the project manager for Zend Framework, and Brad Cottel, Zend's product Evangelist. In it, they talk quite a bit about the work I've done on Zend Form, and also a lot about the proposal process.

If you're interested in the new 1.5 features, or how the proposal process works and who contributes to the community, give it a listen!

Posted by Matthew Weier O'Phinney in PHP at 09:30 | Comments (0) | Trackbacks (0)
Defined tags for this entry: php, zend framework

Friday, March 28. 2008

Dojo 1.1.0 Released

Dojo announced today the availability of 1.1.0.

I've been toying with Dojo off-and-on for almost a year now. It's the most framework-y of the various JS toolkits I've tried, and I particularly appreciate its modularity. (That said, it can lead to a lot of HTTP requests to your site if you don't create a targetted bundle with the modules you need.)

The 1.1.0 release has me pretty excited, as it finally is doing something most other JS frameworks have been doing for some time: its XHR requests now send the "X-Requested-With: XMLHttpRequest" header, which allows it to conform to the isXmlHttpRequest() method in Zend Framework's request object. This makes it much easier to provide a standard mechanism in your server-side code for detecting AJAX requests, allowing context switching to be automated.

Posted by Matthew Weier O'Phinney in PHP at 15:59 | Comments (2) | Trackbacks (0)
Defined tags for this entry: mvc, php, zend framework

Login and Authentication with Zend Framework

I've fielded a number of questions from people wanting to know how to handle authentication and identity persistence in Zend Framework. The typical issue is that they're unsure how to combine:

  • An authentication adapter
  • A login form
  • A controller for login/logout actions
  • Checking for an authenticated user in subsequent requests

It's not terribly difficult, but it does require knowing how the various pieces of the MVC fit together, and how to use Zend_Auth. Let's take a look.


Continue reading "Login and Authentication with Zend Framework"

Posted by Matthew Weier O'Phinney in PHP at 11:14 | Comments (52) | Trackbacks (2)
Defined tags for this entry: mvc, php, zend framework

Saturday, March 22. 2008

Vim Productivity Tips for PHP Developers

I use Vim for all my editing needs -- TODO lists, email, presentation outlines, coding in any language... everything. So, I thought I'd start sharing some of my vim habits and tools with others, particularly those that pertain to using Vim with PHP.


Continue reading "Vim Productivity Tips for PHP Developers"

Posted by Matthew Weier O'Phinney in PHP at 10:41 | Comments (16) | Trackback (1)
Defined tags for this entry: best practices, php, vim
(Page 1 of 17, totaling 165 entries) » next page
  • Home
  • Resume
  • Blog
  • Phly PEAR Channel
  • Contact Me
  • About this site

ZCE

Zend Education Advisory Board Member

Add to Technorati Favorites

Calendar

Back May '08 Forward
Mon Tue Wed Thu Fri Sat Sun
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Quicksearch

Links

  • PHLY - PHp LibrarY
  • Paul M. Jones
  • Mike Naberezny
  • Shahar Evron
  • Planet PHP
  • Zend Where I now work
  • Garden.org Where I once worked

Archives

May 2008
April 2008
March 2008
Recent...
Older...

Categories

XML Linux
XML Personal
XML Aikido
XML Family
XML Programming
XML Perl
XML PHP

All categories

Syndicate This Blog

XML RSS 0.91 feed
XML RSS 1.0 feed
XML RSS 2.0 feed
ATOM/XML ATOM 0.3 feed
ATOM/XML ATOM 1.0 feed
XML RSS 2.0 Comments

Show tagged entries

xml best practices
xml books
xml conferences
xml file_fortune
xml linux
xml mvc
xml pear
xml php
xml programming
xml zendcon
xml zend framework
© 2004 - present, Matthew Weier O'Phinney
matthew-web <at> weierophinney.net