Re: Re: Question: what are frameworks?

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

 



On Sun, Aug 9, 2009 at 9:29 AM, Sudheer
Satyanarayana<sudheer.s@xxxxxxxxxxxxxxxxx> wrote:
> Michael A. Peters wrote:
>>
>> Ralph Deffke wrote:
>>>
>>> good question !! I think the word "framework" is modern fashion term in
>>> the
>>> first case. in former days we used to say "library" C comes with a
>>> standard
>>> library, in modern words C comes with a standard framework. I use my own
>>> framework, means I reuse my code written for similar things before, so I
>>> use
>>> my "framework". its like a painter, he uses a ready made frame to paint
>>> what
>>> ever he wants,
>>>
>>> u can use the yahoo UI framework to "paint" ur page. A operating system
>>> is a
>>> "framework" unifieing the underlaying hardware.
>>>
>>> as in former days u said "library" u say more modern "framework" in both
>>> cases its a bunch of functions doing some stuff the user of the framework
>>> hasn't to take care about by using the framework.
>>>
>>> hope that helps
>>
>> I think framework is different than library.
>> Pear is a collection of libraries.
>> PECL (and binary modules that ship with php) are a collection of
>> libraries.
>>
>> I don't use pre-packaged frameworks so it probably is best for me not to
>> define them, but I think they are a basically a collection of classes and
>> libraries intended to make rapid development of web applications faster.
>>
> You might consider reading this:
>
> http://en.wikipedia.org/wiki/Software_framework
>
>
>
>
> --
>
> With warm regards,
> Sudheer. S
> Business: http://binaryvibes.co.in, Tech stuff: http://techchorus.net,
> Personal: http://sudheer.net
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

It's also worth noting that the frameworks goals may differ. The
CodeIgniter framework has support for both PHP 4 and PHP5, which makes
it more flexible where hosts have not upgraded to php5 for whatever
reason. Many of the others (like cake, symfony and zend) tend to only
support php5 and are also more object oriented from a coding
perspective.

Then there implementation features; CodeIgniter  has a smaller
learning curve, footprint and is faster than many of the others. Zend
allows developers to pick and choose the framework components to use
as well having a very rich feature set. symfony has a full ORM layers
that handles mapping object to the database layer. Cake, symfony and
zend offer features to generate the basic classes for each database
table.

In all cases the idea of the framework is to abstract the heavy
lifting (the common features of developing uploaders, database
handlers, forms handling, validation etc) and allowing developers to
simply use the framework functionality to handle that, freeing up time
to focus on getting the business logic of the application in place.

-- 

Bastien

Cat, the other other white meat

-- 
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