Port80 Forums Ilisys Web Hosting Fast Hit Web Hosting

Our Platinum Sponsors:


Go Back   Port80 Forums > Development & Code > php & mySQL

Reply
 
Thread Tools Display Modes
  #1  
Old 23-04-2010, 10:47 AM
tsick tsick is offline
Junior Member
 
Join Date: Apr 2010
Location: Melbourne
Posts: 14
tsick is on a distinguished road
Default Do you use a framework?

Just interested to see what people are using..

If you use a framework, which one and why?

If you don't.. why not?

--

I use the symfony framework. Started using it a few years ago because it wasn't feasible to dev without a framework.

I chose symfony over Cake etc because of the superior community and documentation.
Reply With Quote
  #2  
Old 23-04-2010, 10:52 AM
tuna's Avatar
tuna tuna is offline
Senior Member
AWIA Member
 
Join Date: Apr 2003
Location: Perth
Posts: 3,093
tuna is on a distinguished road
Default

please clarify are you talking

Front end dev
Back end dev

or something else really weird.
__________________
Gary Barber
User Experience Consultant
radharc * Freelance User Experience Designer * Random Smelly Fish + UX stuff
Reply With Quote
  #3  
Old 23-04-2010, 11:05 AM
tsick tsick is offline
Junior Member
 
Join Date: Apr 2010
Location: Melbourne
Posts: 14
tsick is on a distinguished road
Default

I'm talking about any application.

I use symfony for both frontend and backend applications
Reply With Quote
  #4  
Old 23-04-2010, 11:18 AM
kay's Avatar
kay kay is offline
Senior Member
AWIA Member Site Admin
 
Join Date: Oct 2002
Location: Perth
Posts: 3,669
kay has disabled reputation
Default

lol, tsick you're talking about server side as in php code. Tuna was asking if you mean a php/asp/cf/jsp framework or a javascript or css framework (i.e. client side).

I inherited one site that used symfony, but found someone else to take over. To me it seemed very much overcomplicated. But I'm not a PHP coder, I'm a CF coder, and yes I use a framework for that. For our PHP stuff we have our own framework inhouse, based on MVC but customised to the kinds of work we usually do.
__________________
buy my monaro!
Reply With Quote
  #5  
Old 23-04-2010, 11:36 AM
tsick tsick is offline
Junior Member
 
Join Date: Apr 2010
Location: Melbourne
Posts: 14
tsick is on a distinguished road
Default

haha ok, thought that question was strange. We are in the PHP/MYSQL section though

I can see your point about it being complicated, it took me 2 months to fully conquer.

I used to have my own PHP framework aswell, however maintaining it (security, depracted functions in PHP5, legacy versions on 30+ sites etc) became a real problem and also it didn't scale out as well as I would've hoped when I started doing larger projects.
Reply With Quote
  #6  
Old 23-04-2010, 11:37 AM
Mr C Mr C is offline
Senior Member
 
Join Date: Nov 2003
Location: Perth
Age: 40
Posts: 139
Mr C is on a distinguished road
Default

I've used it in the past (previous employment), and I have to say, I'm not a fan of it.

Most of the time I code OO php in an MVC style, and have a built up a library of classes to simplify the frequent common tasks.

I started with mojavi before symfony existed, (the core mvc stuff in symfony came from mojavi), and still like it for its simplicity and ease of use, but rarely use it.

I have been wanting to check out Zend framework for a while now.
Reply With Quote
  #7  
Old 23-04-2010, 11:49 AM
tsick tsick is offline
Junior Member
 
Join Date: Apr 2010
Location: Melbourne
Posts: 14
tsick is on a distinguished road
Default

I guess it depends what you use it for. Would'nt make sense to use it for a standard website, but if your building a web app or enterprise grade site using a framework like symfony has significant advantages.
Reply With Quote
  #8  
Old 23-04-2010, 12:11 PM
Vee Vee is offline
Senior Member
AWIA Member
 
Join Date: Jul 2008
Location: Mandurah, WA
Posts: 424
Vee is on a distinguished road
Default

I've been working with CodeIgniter in the last couple of weeks, can't complain

If there are any gurus here, PM me your deets as I may have a large project coming up that I would like to have developed on CI but don't want to be turning all (any) of the screws myself.
Reply With Quote
  #9  
Old 23-04-2010, 04:19 PM
Botman Botman is offline
Senior Member
AWIA Member
 
Join Date: May 2007
Location: Perth
Posts: 113
Botman is on a distinguished road
Default

I use CakePHP.

Why? It does a good amount of work for you while keeping out of your way. Though that's probably true for everyone and their preferred frameworks.

I am always open to something better but yeah, I've found CakePHP to be consistently good enough.

Biggest weakness is that out-of-the-box, I find the view mark-up gets pretty messy because you end up with:

if (!empty($product['Product']['name'])) {
echo $product['Product']['name'];
}

Otherwise you risk an Undefined Index warning if the variable was not set.

Give me Smarty syntax any day: {$product.Product.name}
__________________
botman.com.au
Reply With Quote
  #10  
Old 23-04-2010, 05:34 PM
Vee Vee is offline
Senior Member
AWIA Member
 
Join Date: Jul 2008
Location: Mandurah, WA
Posts: 424
Vee is on a distinguished road
Default

Surely there is a template engine available for CakePHP?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +8. The time now is 09:37 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.