[PHP] Re: Question: what are frameworks?

2009-08-09 Thread Ralph Deffke
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

ralph
ralph_def...@yahoo.de
Parham Doustdar parha...@gmail.com wrote in message
news:5c.b0.05105.f18be...@pb1.pair.com...
Hi there,
I've heard of frameworks, but I don't quite know what they are used for.
I've done a little search on the internet, but even though I've been able to
find different PHP frameworks, I'm not quite sure what they offer, or in
what they differ, or why I shouldn't just use PHP as it is.
Can someone give a little bit of explaination?
Thanks!

-- 
---
Contact info:
Skype: parham-d
MSN: fire_lizard16 at hotmail dot com
email: parham90 at GMail dot com



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



Re: [PHP] Re: Question: what are frameworks?

2009-08-09 Thread Michael A. Peters

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.


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



[PHP] Re: Question: what are frameworks?

2009-08-09 Thread Tony Marston

Parham Doustdar parha...@gmail.com wrote in message 
news:5c.b0.05105.f18be...@pb1.pair.com...
 Hi there,
I I've heard of frameworks, but I don't quite know what they are used for.
 I've done a little search on the internet, but even though I've been able
 to find different PHP frameworks, I'm not quite sure what they offer, or
 in what they differ, or why I shouldn't just use PHP as it is.
 Can someone give a little bit of explaination?
 Thanks!

A framework is more than just a simple collection of libraries, it is a 
support structure in which another software project (application) can be 
organised and developed. The simplest framework is nothing more than a menu 
system which informs the user what application components are available, and 
provides the means for the user to choose an option from that list and cause 
it to executed or activated. This means that each application component can 
be developed without the need for any code to handle the menu functionality. 
The component is simply plugged into the framework and it is instantly 
available.

This simple framework can be extended to provide other features, such as 
security. Instead of allowing just anybody to access the application it may 
need to be restricted to registered users only, and this can be accomplished 
by inserting a login mechanism into the framework. It may then be decided 
that not every user is allowed to access every component, so additional 
access control mechanisms can be built in. It should be possible to extend 
the framework without having to touch every single component that runs 
within it.

The framework may provide other facilities, such as providing the ability to 
navigate between components, to pass messages between components, audit 
logging, workflow, et cetera. This allows the application programmers to 
concentrate on the needs of the application without being bogged down with 
other details.

Some people seem to think that each application needs its own separate 
framework in order to satisfy the unique needs of that application, but they 
have simply not learned to abstract out that functionality which is common 
to every application. It is therefore possible to build a framework that can 
be used by any number of different applications. RADICORE is such a 
framework.

An advantage of a reusable framework is that once a programmer has become 
familiar with it he can carry that knowledge forward into the next 
application without having to learn a different framework.
A framework is a support structure in which another software project 
(application) can be organised and developed. The simplest framework is 
nothing more than a menu system which informs the user what application 
components are available, and provides the means for the user to choose an 
option from that list and cause it to executed or activated. This means that 
each application component can be developed without the need for any code to 
handle the menu functionality. The component is simply plugged into the 
framework and it is instantly available.

This simple framework can be extended to provide other features, such as 
security. Instead of allowing just anybody to access the application it may 
need to be restricted to registered users only, and this can be accomplished 
by inserting a login mechanism into the framework. It may then be decided 
that not every user is allowed to access every component, so additional 
access control mechanisms can be built in. It should be possible to extend 
the framework without having to touch every single component that runs 
within it.

The framework may provide other facilities, such as providing the ability to 
navigate between components, to pass messages between components, audit 
logging, workflow, et cetera. This allows the application programmers to 
concentrate on the needs of the application without being bogged down with 
other details.

Some people seem to think that each application needs its own separate 
framework in order to satisfy the unique needs of that application, but they 
have simply not learned to abstract out that functionality which is common 
to every application. It is therefore possible to build a framework that can 
be used by any number of different applications. RADICORE is such a 
framework.

An advantage of a reusable framework is that once a programmer has become 
familiar with it he can carry that knowledge forward into the next 
application without having to learn a different framework.

There are lots of different PHP frameworks available for the simple reason 
that there are lots of different PHP programmers who each have their own 
methodologies and techniques. Some frameworks are written to aid the 
development of particular kinds of software, such as building web sites or 
CMS systems, whereas others (like Radicore) are for building web 
applications.

-- 
Tony Marston
http://www.tonymarston.net
http://www.radicore.org 



-- 
PHP General Mailing List 

Re: [PHP] Re: Question: what are frameworks?

2009-08-09 Thread Sudheer Satyanarayana

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



Re: [PHP] Re: Question: what are frameworks?

2009-08-09 Thread Bastien Koert
On Sun, Aug 9, 2009 at 9:29 AM, Sudheer
Satyanarayanasudhee...@binaryvibes.co.in 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