Zend Framework - Resources

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

I've decided to use the framework on a pretty feature-rich website I am starting. When I am done, I will post it here for you all to see.
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

I've managed to torture my host into adding mod_rewrite.. so I can now use it.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

Jenk wrote:oh well.. the Zend dream is over for me, for now at least.
Can't use it, soley because of that.
I am working with Zend right now on making the Front Controller work with or without mod_rewrite and the Router optional. There should be some changes coming up in the next release.
Jenk wrote:Also another gripe - why does it demand you must have the Zend libraries in include_path? Curious as to why they didn't just code their includes relatively, or 'hardcoded' with the use of realpath and __FILE__ etc.
The includes are all coded relatively, so class Zend_This_Class is in file Zend/This/Class.php. All the includes within the framework code use relative paths. The core Zend Registry is also __autoload compatible.
(#10850)
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

Then the note "must have the library directory in pnp's include_path ... " is redundant? :)
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

Jenk wrote:Then the note "must have the library directory in pnp's include_path ... " is redundant? :)
Well ... you are reading documentation for software that essentially Alpha quality and still in flux somewhat. I can't think if any PHP software that has as good of documentation as ZF does this early on. That does not necessarily mean that ZF's code will meet expectations, but it does indicate that it will probably have solid documentation.
(#10850)
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

I'm just ranting, not necesarilly criticising Zend, so don't take offence :)

btw - any got a simple dictionary of terminilogy?! I'm reading through, for example, the controller class and seeing I need to register dispatch tokens and routers etc. etc.. just what are they?! do they have alternative names that I might have heard of before (patterns?)
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

http://framework.zend.com/manual/en/zen ... ng-process
That page explains exactly what those things are... I apologize if that's what you're looking at already, but those definitions make perfect sense to me. :?
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

They are just as they say they are... :P

A token...is a unit which typically cannot be broken down any further...

When parsing PHP code for instance...a code block consists of several high level tokens...likely made up of statements and constructs, etc...

Statements can be tokenized into keywords, expressions, etc...

expressions can be tokenized into operators, etc...

A token is the smallest token, so when writing a character based parser, a single character would be a token...a word parser...a single word would be a token...in PHP...it's more complex...as keywords are tokens...but so are braces, etc...

That is my concept of tokens anyways...but as you can see...they have different meaning under different contexts...

Usually when routing or dispatching tokens...I would assume a token is a message...and routing or dispatching are the actions executed on the token, for the token, etc...

Cheers :)
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

Jenk wrote:I'm just ranting, not necesarilly criticising Zend, so don't take offence :)
I didn't, and if you notice I didn't say the code would necessarily be good -- only that the documentation would probably be pretty good. ;)
(#10850)
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

Yay for Shiflett - his tutorial on phparch.com has brought it all together :) (Still not 100% with the terminologies, but am a lot better off than I was before)
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Applications built with the Zend Framework

Post by Luke »

I've been using Astrum Futura as an example and learning how to write an application with the Zend Framework by studying it, but one application is not enough, and it isn't finished. Does anybody know of a good application built on ZF that I can study? Or even better, multiple apps I can study? :D
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

It's barely even started - leaving the heavy work until ZF 0.9 so until then it's largely about layout, design, and a little bit of experimentation. ;)

I would hazard there are few applications in open source that are a) complete and b) synced with the current releases. It's hard to keep the software updated after each revision. Yes, you can shift around the API, but just doing that means you lose the advantage of *why* the API changed - usually incremental feature improvements or plain new features. I know Zend_Log is seeing a major revision, so if you use the current version you might wind up needing to restructure how you use and take advantage of it.

As Bill Karwin notes on the mailing list - post 1.0 will see a stronger effort focused on providing examples, tutorials, and test applications. Until then those of us using the ZF are only using it in small apps, or simply keeping pace with an application scaffold (like AF largely is) in readiness for the magical 1.0 go-ahead signal.
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

Just remembered that somewhere on the wiki are a list of applications using the ZF. Not sure how many are open source though...

http://framework.zend.com/wiki/pages/vi ... geId=14134
zfdeveloper
Forum Newbie
Posts: 3
Joined: Fri Feb 23, 2007 7:59 am
Location: Romania

Post by zfdeveloper »

Related to Zend Framework Resource i would say to take a look here:

Zend Framework Tutorials
Zend Framework Forum
User avatar
CoderGoblin
DevNet Resident
Posts: 1425
Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany

Post by CoderGoblin »

When initially starting the Zend Framework I found the Akrabat Zend Tutorial useful. Will probably take a short while until it is up to the latest version though. Besides that I have found both the Zend Framework manual and also this forum :wink: very useful.
Post Reply