Please guide in selection of Framework: according to your experience
Please guide in selection of Framework: according to your experience
am 27.03.2010 05:28:52 von Vishal Rewari
--001636e0a51fc61c9a0482c0b88c
Content-Type: text/plain; charset=ISO-8859-1
Dear PHP community,
I am vishal, I have recently started development in PHP
I have come across these PHP frameworks:
1. Codeigniter
2. Symphony
3. CakePHP
4. PEAR
Please guide me which one of them is *good in performance ? available
functionality ? Easy to use and configure* or the one you would recommend
according to your experience.
My DB is MySQl, or should I stick to native call from PHP?
--
--
Warm Regards
Vishal Rewari
Student - LD College of Engineering,
AIESEC - Ahmedabad.
---------------------------------------------------
AIESEC - vishal.rewari@aiesec.net
Gmail - rewari.vishal@gmail.com
Skype - vishal.rewari
Mobile - +919428104319
Website : http://rewarivishal.blogspot.com/
-----------------------------------------------------------
19
--001636e0a51fc61c9a0482c0b88c--
Re: Please guide in selection of Framework: according to yourexperience
am 27.03.2010 06:45:00 von Nilesh Govindrajan
On 03/27/2010 09:58 AM, Vishal Rewari wrote:
> Dear PHP community,
>
> I am vishal, I have recently started development in PHP
>
> I have come across these PHP frameworks:
>
>
> 1. Codeigniter
> 2. Symphony
> 3. CakePHP
> 4. PEAR
>
>
>
> Please guide me which one of them is *good in performance ? available
> functionality ? Easy to use and configure* or the one you would recommend
> according to your experience.
>
>
> My DB is MySQl, or should I stick to native call from PHP?
>
Since you're new to PHP, you should not directly start off with
frameworks. I agree, using frameworks makes the job infinite times
easier, but as a learning point of view, you should first try to build
some applications (not to sell or freelance!) from scratch without using
any frameworks. You can of course use minimal PEAR packages.
This way you will get a lot to know how to write efficient PHP code. Yes
this will take time, but in future you may be one of the best developers
coding PHP out there !
Lastly, PEAR isn't a framework, though combining various packages out
there you can make one :)
First try Zend, its the easiest to use as far I've seen.
I have tried Symfony too, but I found it a little tougher to start with.
--
Nilesh Govindarajan
Site & Server Administrator
www.itech7.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Please guide in selection of Framework: according toyour experience
am 27.03.2010 10:23:03 von Ashley Sheridan
--=-8gA6xdeZ4pOHjmOb9SgB
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
On Sat, 2010-03-27 at 11:15 +0530, Nilesh Govindarajan wrote:
> On 03/27/2010 09:58 AM, Vishal Rewari wrote:
> > Dear PHP community,
> >
> > I am vishal, I have recently started development in PHP
> >
> > I have come across these PHP frameworks:
> >
> >
> > 1. Codeigniter
> > 2. Symphony
> > 3. CakePHP
> > 4. PEAR
> >
> >
> >
> > Please guide me which one of them is *good in performance ? available
> > functionality ? Easy to use and configure* or the one you would recommend
> > according to your experience.
> >
> >
> > My DB is MySQl, or should I stick to native call from PHP?
> >
>
> Since you're new to PHP, you should not directly start off with
> frameworks. I agree, using frameworks makes the job infinite times
> easier, but as a learning point of view, you should first try to build
> some applications (not to sell or freelance!) from scratch without using
> any frameworks. You can of course use minimal PEAR packages.
>
> This way you will get a lot to know how to write efficient PHP code. Yes
> this will take time, but in future you may be one of the best developers
> coding PHP out there !
>
> Lastly, PEAR isn't a framework, though combining various packages out
> there you can make one :)
>
> First try Zend, its the easiest to use as far I've seen.
>
> I have tried Symfony too, but I found it a little tougher to start with.
>
> --
> Nilesh Govindarajan
> Site & Server Administrator
> www.itech7.com
>
As far as frameworks go, I've found CodeIgniter very very easy to work
with, but I do agree with Nilesh, you should begin by writing code
without a framework first. This is because any framework adds an extra
layer to your learning, which obviously makes it more difficult for you.
Thanks,
Ash
http://www.ashleysheridan.co.uk
--=-8gA6xdeZ4pOHjmOb9SgB--
Re: Please guide in selection of Framework: according to your
am 29.03.2010 02:05:32 von Vishal Rewari
--00504501702db589bb0482e546d3
Content-Type: text/plain; charset=ISO-8859-1
Thank you, I will go forward with the way you guys suggested.
See you around
On Sat, Mar 27, 2010 at 4:54 PM, Andre Polykanine wrote:
> Hello Vishal,
>
> Why don't you want to write raw code, without any frameworks?) It's
> good for lots of objectives...
> --
> With best regards from Ukraine,
> Andre
> Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @
> jabber.org
> Yahoo! messenger: andre.polykanine; ICQ: 191749952
> Twitter: m_elensule
>
> ----- Original message -----
> From: Vishal Rewari
> To: php-general@lists.php.net
> Date: Saturday, March 27, 2010, 6:28:52 AM
> Subject: [PHP] Please guide in selection of Framework: according to your
> experience
>
> Dear PHP community,
>
> I am vishal, I have recently started development in PHP
>
> I have come across these PHP frameworks:
>
>
> 1. Codeigniter
> 2. Symphony
> 3. CakePHP
> 4. PEAR
>
>
>
> Please guide me which one of them is *good in performance ? available
> functionality ? Easy to use and configure* or the one you would recommend
> according to your experience.
>
>
> My DB is MySQl, or should I stick to native call from PHP?
>
> --
> --
> Warm Regards
>
> Vishal Rewari
> Student - LD College of Engineering,
> AIESEC - Ahmedabad.
>
>
> ---------------------------------------------------
>
> AIESEC - vishal.rewari@aiesec.net
> Gmail - rewari.vishal@gmail.com
> Skype - vishal.rewari
> Mobile - +919428104319
>
> Website : http://rewarivishal.blogspot.com/
>
> -----------------------------------------------------------
> 19
>
>
--
--
Warm Regards
Vishal Rewari
Student - LD College of Engineering,
AIESEC - Ahmedabad.
---------------------------------------------------
AIESEC - vishal.rewari@aiesec.net
Gmail - rewari.vishal@gmail.com
Skype - vishal.rewari
Mobile - +919428104319
Website : http://rewarivishal.blogspot.com/
-----------------------------------------------------------
19
--00504501702db589bb0482e546d3--
RE: Please guide in selection of Framework: according to your experience
am 29.03.2010 22:29:16 von Daevid Vincent
> -----Original Message-----
> From: Vishal Rewari [mailto:rewari.vishal@gmail.com]
> Sent: Friday, March 26, 2010 9:29 PM
>
> I am vishal, I have recently started development in PHP
> I have come across these PHP frameworks:
>
> 1. Codeigniter
> 2. Symphony
> 3. CakePHP
> 4. PEAR
>
> Please guide me which one of them is *good in performance ? available
> functionality ? Easy to use and configure* or the one you
> would recommend according to your experience.
I was forced to use Symfony before. Hated every second of it. The company
eventually folded, no doubt in part due to the poor decision to use this
framework.
For example, using the "Symfony way" of looping over various news stories,
creating objects and the whole ORM and all that crap, it would take a
second or so per story to process. With thousands of stories this took
hours to process. We then said F-it and re-wrote the parser in straight up
PHP and now the processing took a couple of minutes.
> or should I stick to native call from PHP?
Yes.
Most real developers do NOT use off-the-shelf frameworks. We generally roll
our own since no framework will do everything you're going to want or need
for your particular project, and then your stuck either trying to wedge
something in, or hoping "they" eventually catch up to your needs. They try
to be all things to all people and therefore you carry a lot of baggage and
bloat you don't want/need. And the biggest reason to avoid them is if your
project grows, now you have to find not only a skilled PHP developer, but
one that knows this additional framework and is proficient enough to use it
well. It's just a hassle in the end and puts digital handcuffs on you.
Write some wrappers for your DB calls and other useful routines and KISS.
Frameworks are great for a quick proto-type, but IMHO, why waste energy
when you'll just have to re-write it again for real. Do it right from the
start.
http://www.rapidpoll.net/8opnt1e
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Please guide in selection of Framework: according to yourexperience
am 29.03.2010 22:52:38 von Nathan Rixham
Daevid Vincent wrote:
>
>
>> -----Original Message-----
>> From: Vishal Rewari [mailto:rewari.vishal@gmail.com]
>> Sent: Friday, March 26, 2010 9:29 PM
>>
>> I am vishal, I have recently started development in PHP
>> I have come across these PHP frameworks:
>>
>> 1. Codeigniter
>> 2. Symphony
>> 3. CakePHP
>> 4. PEAR
>>
>> Please guide me which one of them is *good in performance ? available
>> functionality ? Easy to use and configure* or the one you
>> would recommend according to your experience.
>
> I was forced to use Symfony before. Hated every second of it. The company
> eventually folded, no doubt in part due to the poor decision to use this
> framework.
>
> For example, using the "Symfony way" of looping over various news stories,
> creating objects and the whole ORM and all that crap, it would take a
> second or so per story to process. With thousands of stories this took
> hours to process. We then said F-it and re-wrote the parser in straight up
> PHP and now the processing took a couple of minutes.
>
>> or should I stick to native call from PHP?
>
> Yes.
>
> Most real developers do NOT use off-the-shelf frameworks. We generally roll
> our own since no framework will do everything you're going to want or need
> for your particular project, and then your stuck either trying to wedge
> something in, or hoping "they" eventually catch up to your needs. They try
> to be all things to all people and therefore you carry a lot of baggage and
> bloat you don't want/need. And the biggest reason to avoid them is if your
> project grows, now you have to find not only a skilled PHP developer, but
> one that knows this additional framework and is proficient enough to use it
> well. It's just a hassle in the end and puts digital handcuffs on you.
> Write some wrappers for your DB calls and other useful routines and KISS.
> Frameworks are great for a quick proto-type, but IMHO, why waste energy
> when you'll just have to re-write it again for real. Do it right from the
> start.
Agreed (strangely) I've always opted for roll your own; however one
exception is zend framework, v good and nice and modular; another
exception is standard "do the job well" libraries such as reCaptcha lib,
SimplePie, some PEAR stuff and gubbins like that - often saves time and
the code is pretty solid.
Personally I find a good collection of classes I've built up over the
years fit's the bill perfectly; but then I've had the years to build
them up.
If you've got the choice and the time/budget/inclination/ability it's a
good approach to roll your own from scratch - if you don't or you're
part of a huge team then odds are it'll be picking the lightest
framework you can, which the most dev's know, to get going (java style
"urm should we use spring or ejb").
Often the get it working then optimise is a required approach for sweat
shops (ahem. sorry I mean agencies). Again though, if you are employed
always best to run the choice through management just to cover your ass.
It's all relative and on a per project / client / boss basis; and not
everybody is lucky enough to pick and choose their jobs / techs and
methods. (but I am :p)
Regards
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Please guide in selection of Framework: according to yourexperience
am 30.03.2010 03:44:12 von Nilesh Govindrajan
On 03/30/2010 01:59 AM, Daevid Vincent wrote:
>
>
>> -----Original Message-----
>> From: Vishal Rewari [mailto:rewari.vishal@gmail.com]
>> Sent: Friday, March 26, 2010 9:29 PM
>>
>> I am vishal, I have recently started development in PHP
>> I have come across these PHP frameworks:
>>
>> 1. Codeigniter
>> 2. Symphony
>> 3. CakePHP
>> 4. PEAR
>>
>> Please guide me which one of them is *good in performance ? available
>> functionality ? Easy to use and configure* or the one you
>> would recommend according to your experience.
>
> I was forced to use Symfony before. Hated every second of it. The company
> eventually folded, no doubt in part due to the poor decision to use this
> framework.
>
> For example, using the "Symfony way" of looping over various news stories,
> creating objects and the whole ORM and all that crap, it would take a
> second or so per story to process. With thousands of stories this took
> hours to process. We then said F-it and re-wrote the parser in straight up
> PHP and now the processing took a couple of minutes.
>
>> or should I stick to native call from PHP?
>
> Yes.
>
> Most real developers do NOT use off-the-shelf frameworks. We generally roll
> our own since no framework will do everything you're going to want or need
> for your particular project, and then your stuck either trying to wedge
> something in, or hoping "they" eventually catch up to your needs. They try
> to be all things to all people and therefore you carry a lot of baggage and
> bloat you don't want/need. And the biggest reason to avoid them is if your
> project grows, now you have to find not only a skilled PHP developer, but
> one that knows this additional framework and is proficient enough to use it
> well. It's just a hassle in the end and puts digital handcuffs on you.
> Write some wrappers for your DB calls and other useful routines and KISS.
> Frameworks are great for a quick proto-type, but IMHO, why waste energy
> when you'll just have to re-write it again for real. Do it right from the
> start.
>
> http://www.rapidpoll.net/8opnt1e
>
>
>
>
Yeah this is absolutely true. Frameworks are ok-ok for small apps, but
when it comes to complex apps, it becomes to understand our own code
itself !
--
Nilesh Govindarajan
Site & Server Administrator
www.itech7.com
मà¥à¤°à¤¾ à¤à¤¾à¤°à¤¤ महान !
मम à¤à¤¾à¤°à¤¤: महतà¥à¤¤à¤® à¤à¤µà¤¤à¥ !
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php