Re: Zend Framework...where to start? -- don't.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2009-01-15 at 17:34 +0200, Sancar Saran wrote:
> On Wednesday 14 January 2009 23:39:02 Daevid Vincent wrote:
> > Not to start a Holy War (as these "to framework" or "not to framework"
> > debates often turn into), but I personally had a horrible experience
> > with using frameworks. I was forced to use Symfony at my last job and it
> > was so cumbersome and slow to do even the simplest things. The whole MVC
> > thing can be overkill. Plus the learning curve can be quite steep. Then
> > if you want to hire other developers to work with you, you have to train
> > them and let them ramp up on not only the framework but also your core
> > project too! More wasted time.
> >
> > The pages are significantly slower than straight PHP by orders of
> > magnitude: http://paul-m-jones.com/?p=315
> >
> > The basic problem with frameworks is they try to be one thing for all
> > people. This carries a lot of baggage with it. There's a lot of crap you
> > end up pulling in that you don't want/need. Plus if you want to deviate
> > at all, you either have to roll your own, or sometimes you simply just
> > can't. They seem attractive with all their plugins and stuff, but
> > honestly, rarely do the plugins do EXACTLY what you want, the way you
> > want. It might be as simple as trying to change the look/feel of a
> > button or something and you'll find out that you can't -- so now you
> > have this website that has this section that doesn't look like the rest
> > of your site. And if you find a bug, you have to try to either fix it
> > yourself and then keep those changes migrated into new updates, or
> > submit it to the developer and hope they implement them (and trust me,
> > you can submit to them and have them rejected for all sorts of lame
> > reasons -- even though the work has been done and you're using it!)
> >
> > I advise against it. Just follow good practices and use thin wrappers
> > and functions. Don't get all OO googlie eyed and try to over-engineer
> > and over-OO the code. OO is great for some things (like a User class)
> > but don't start making some OO page renderer or form builder. Don't fall
> > into the DB Abstraction trap either -- just use a wrapper around your DB
> > calls (see attached), so you can swap out that wrapper if (and you
> > almost never do) you change the DB. Don't be suckered by something like
> > QuickForms -- you WILL run into limitations that you can't get around
> > and are at their mercy. Don't buy the hype that DIV's are the magic
> > bullet and TABLEs are "poor design" -- Tables are still the best and
> > most ubiquitous way to align things in a browser agnostic way (including
> > mobile phones, etc.) and to layout forms.
> >
> > I've not used Zend myself, so I can't say for certain, but the above
> > tenements I think would still hold true. I guess I would trust the Zend
> > one the most given they actually make PHP, but at this point in time, I
> > would never choose to use a bloated framework. Then again, I write
> > enterprise level and very custom applications (Saas) so maybe this
> > doesn't apply if all you're trying to do is make yet another Blog or
> > Photo-album or personal/corporate website or something generic/basic.
> > I've been coding nearly 20 years and founded several $MM companies.
> > That's my take (or rant depending on how you look at it).
> >
> > Daevid.
> > http://daevid.com
> >
> 
> Hell, yes, signed to from start to end.
> 
> After RoR, PHP guys (including Zend) goes nuts.
> Every one eat his brains to develop RoR like Framework. 

What are you smoking? I like my framework the way it is. I'm sure others
like theirs the way it is. In no way do I try to be like RoR and
probably for good reason since I hear mostly bad things about RoR.

> I wish to see fixed function parameter names

Good luck with that... it's been shot down several times on the PHP
internals list.

> , option orders, easy and strong input validation in PHP 6.

Isn't the filters stuff available in PHP5 already for doing stronger
validation. It's not like input validation is difficult.

> And they give full effort to generate Zend Framework.

Huh?

> Then what? It still harder than Ror...

What is? PHP? What are you talking about?

> Hell yes, Compete own community. teh best way to spend your resources...

Internal competition only makes something better. If all you have are
yes men, then the only answer you'll get is "yes". Having those who
dissent in opinion provides a basis for different views and approaches
to problem solving. May survival of the fittest benefit all both from
the perspective of getting a better final product and from the
perspective of learning from mistakes along the way.

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux