For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > May 2004 > Newbie: php framework









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Newbie: php framework
Andy Jarrett

2004-05-18, 3:30 am

Hi there, i come from a ColdFusion background and for about the last 3
years been using Fusebox as the framework for the majority of pojects.
Now i've been asked to a project in php and i was wondering if i should
stick to Fusebox or is there another framework our there which works
better for php?

Andy
Michael Vilain

2004-05-18, 5:30 am

In article <2gto5nF6l780U1@uni-berlin.de>,
Andy Jarrett <newsboy@andyjarrett.co.uk> wrote:

> Hi there, i come from a ColdFusion background and for about the last 3
> years been using Fusebox as the framework for the majority of pojects.
> Now i've been asked to a project in php and i was wondering if i should
> stick to Fusebox or is there another framework our there which works
> better for php?


That's like asking a programmer what the best language is to program in.
In case that analogy is meaningless, it's like asking what the best car
to buy is.

The answer is "it depends". I think it depends on

Q1) how fast can you get productive in <whatever>?
Q2) how portable is <whatever>?
Q3) what special tools do you need to develop in <whatever>?
Q4) what public resources are there to implement <feature> in <whatever>?

If you use php or perl, answers to the above questions might be:

A1) If you have mid-level programming experience, buy any of the php or
perl books (I like the O'Reiley books) and read it. It should come very
quickly. If you only know about 'point and click' GUI interfaces like
the Macromedia products, you won't be able to harness the full power of
either perl or php. You _can_ hook php into Dreamweaver, but it's
really a programming language.

A2) perl and php run on a wide variety of platforms from most major UNIX
vendors to Linux to Billyware boxen to mainframes. What about
ColdFusion?

A3) emacs or vim with syntax coloring on a terminal is all you need to
code php or perl. No need to buy any sort of tool from any vendor (but
you can). I haven't debugged much php inside Dreamweaver, so I can't
comment further.

A4) Suppose you want to implement output in Excel file format, there are
perl CPAN modules and php classes to do this. They're free. Perl's
CPAN library is quite extensive. Most of anything you might need has a
module already written for it.

Given the lack of scope of your question, I think it's best you stick
with what you know for now.

--
DeeDee, don't press that button! DeeDee! NO! Dee...



Andy Jarrett

2004-05-18, 5:30 am

"Michael Vilain <vilain@spamcop.net>" wrote:
> In article <2gto5nF6l780U1@uni-berlin.de>,
> Andy Jarrett <newsboy@andyjarrett.co.uk> wrote:
>
>
>
>
> That's like asking a programmer what the best language is to program in.
> In case that analogy is meaningless, it's like asking what the best car
> to buy is.
>
> The answer is "it depends". I think it depends on
>
> Q1) how fast can you get productive in <whatever>?
> Q2) how portable is <whatever>?
> Q3) what special tools do you need to develop in <whatever>?
> Q4) what public resources are there to implement <feature> in <whatever>?
>
> If you use php or perl, answers to the above questions might be:
>
> A1) If you have mid-level programming experience, buy any of the php or
> perl books (I like the O'Reiley books) and read it. It should come very
> quickly. If you only know about 'point and click' GUI interfaces like
> the Macromedia products, you won't be able to harness the full power of
> either perl or php. You _can_ hook php into Dreamweaver, but it's
> really a programming language.
>
> A2) perl and php run on a wide variety of platforms from most major UNIX
> vendors to Linux to Billyware boxen to mainframes. What about
> ColdFusion?
>
> A3) emacs or vim with syntax coloring on a terminal is all you need to
> code php or perl. No need to buy any sort of tool from any vendor (but
> you can). I haven't debugged much php inside Dreamweaver, so I can't
> comment further.
>
> A4) Suppose you want to implement output in Excel file format, there are
> perl CPAN modules and php classes to do this. They're free. Perl's
> CPAN library is quite extensive. Most of anything you might need has a
> module already written for it.
>
> Given the lack of scope of your question, I think it's best you stick
> with what you know for now.
>


Im not asking which IDE is best, nor am i asking is this gonna be
portable or not. I am asking a question about frameworks, and
essentially methodology of programing a site. Im looking for feedback on
web frameworks for programing with PHP. To put it in an easier format
for you:

Has anyone used Fusebox 3 for
PHP(http://www.fusebox.org/index.cfm?&f...amework.default)
if so what do they think. Is there better, more suitable framework as FB
is a bastardise version of a set of core file originally intended for
CF. Otherones i've seen (and yet to look into) are:
http://ismo.sourceforge.net
http://www.interjinn.com
http://www.rwfphp.org
http://seagull.phpkitchen.com/

Any feedback to these or others greatly appreciated

Andy

Chris Hope

2004-05-18, 5:30 am

Andy Jarrett wrote:

> Has anyone used Fusebox 3 for
> PHP(http://www.fusebox.org/index.cfm?&f...amework.default)
> if so what do they think. Is there better, more suitable framework as FB
> is a bastardise version of a set of core file originally intended for
> CF. Otherones i've seen (and yet to look into) are:
> http://ismo.sourceforge.net
> http://www.interjinn.com
> http://www.rwfphp.org
> http://seagull.phpkitchen.com/


Then why don't you try those and find out?

Some people think some systems are fantastic (be it a cms package, a gui, an
operating system or a programming framework) whereas other people may think
the same package sucks; it really comes down to you and how you like to
code systems. If they suit you then you'll like them - if they don't then
you won't; it doesn't matter whether someone else raves about it or not -
what they like is not necessarily the same as what you like.

Andy Jarrett

2004-05-18, 6:30 am

Chris Hope wrote:

> Andy Jarrett wrote:
>
>
>
>
> Then why don't you try those and find out?
>
> Some people think some systems are fantastic (be it a cms package, a gui, an
> operating system or a programming framework) whereas other people may think
> the same package sucks; it really comes down to you and how you like to
> code systems. If they suit you then you'll like them - if they don't then
> you won't; it doesn't matter whether someone else raves about it or not -
> what they like is not necessarily the same as what you like.
>

I know not everyone likes the same thing but all I'm asking is just an
opinion? I most likely will get around to trying them, but at the moment
I wouldn't mind some first hand accounts of frameworks?

What you're saying equates to me buying a product with my friends saying
"we have the product too, but we're not going to tell you if its good or
not that's for you to find out". Its because of choice and opinions we
have magazines like Which giving us advice, and its no different when
choosing a language to program in or a framework to choose.

Do you structure your code Chris? or do you write spaghetti code? If you
do structure how, is it a bespoke method etc. Answering this would of
been more useful to me.

Andy
Chris Hope

2004-05-18, 6:30 am

Andy Jarrett wrote:

> Chris Hope wrote:
>
> I know not everyone likes the same thing but all I'm asking is just an
> opinion? I most likely will get around to trying them, but at the moment
> I wouldn't mind some first hand accounts of frameworks?
>
> What you're saying equates to me buying a product with my friends saying
> "we have the product too, but we're not going to tell you if its good or
> not that's for you to find out". Its because of choice and opinions we
> have magazines like Which giving us advice, and its no different when
> choosing a language to program in or a framework to choose.
>
> Do you structure your code Chris? or do you write spaghetti code? If you
> do structure how, is it a bespoke method etc. Answering this would of
> been more useful to me.


Fair comment. Yes I do structure my code. No I haven't tried any of those
systems. No I haven't used ColdFusion or FuseBox. Let's wait and see if
anyone has tried any of those and see what they say about them. I'm still
willing to bet that if they rave about them you won't necessarily do so as
well :)

Cheers
Chris

Andy Jarrett

2004-05-18, 6:30 am

Chris Hope wrote:

> Andy Jarrett wrote:
>
>
>
>
> Fair comment. Yes I do structure my code. No I haven't tried any of those
> systems. No I haven't used ColdFusion or FuseBox. Let's wait and see if
> anyone has tried any of those and see what they say about them. I'm still
> willing to bet that if they rave about them you won't necessarily do so as
> well :)
>
> Cheers
> Chris


Just so everyone know, it not just those im interested. If anyone has
there own (published or not) im interested.

Thanks Chris.

Andy
Andy Jarrett

2004-05-18, 7:30 am

Andy Jarrett wrote:

> Chris Hope wrote:
>
>
>
> Just so everyone know, it not just those im interested. If anyone has
> there own (published or not) im interested.
>
> Thanks Chris.
>
> Andy

Just to add, this might be clearer if i say methodology of writing code
for a website.

Andy
Justin Wyer

2004-05-19, 10:31 am

Andy Jarrett wrote:

> Andy Jarrett wrote:
>
>
> Just to add, this might be clearer if i say methodology of writing code
> for a website.
>
> Andy


I really don't see your point Andy, I haven't used fusebox or coldfusion
either. Basicly if you have find coldfusion doesn't do what you want
move to php if you have coding experience the move will be easy since
php is about the easiest language to pickup, if coldfusion is doing the
job for you move to that. If you are picking your language based on a
"framework" such as fusebox which is avalible for it I think you basing
your choice on the wrong factor. As for writing structured code thats up
to the individual programmers style I gues, theres a few html template
tools for php to help keep html out of your script files and keep things
neat http://smarty.php.net I've had much joy with smarty. php has alot
of pluses, it runs basicly on any system and if u can get php running u
can run any php script (unless it uses OS specific functions)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com