![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Feb 2003
Posts: 819
|
PHP question - Use framework or not?
I wanted to do some programming for a site, just basically dealing handling galleries.
I was really curious if you guys are using any framework like zend and why someone would want to use it or not use it? I've read about the template and cache features which interests me. I'd like to hear some opinions if its better to use a framework or not. Thanks in advance ![]()
__________________
hello |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
Just handling galleries, a framework might be a bit overkill, especially Zend but I really like CodeIgniter myself for being useful yet getting out of my way if I need it to.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Registered User
Join Date: May 2010
Posts: 90
|
I really like CodeIgniter and Yii.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jun 2009
Location: Asheville, NC
Posts: 2,277
|
There's not a single framework I like... they're all bloated and inefficient IMO...
__________________
ICQ: 258-202-811 | Email: eric{at}bestxxxporn.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Feb 2003
Posts: 819
|
Cool, i will look check CodeIgniter for sure.
Can you please let me know why you think zend would be a bit overkill? Is it because of the load on the server?
__________________
hello |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Join Date: Feb 2003
Posts: 819
|
Quote:
Why would you say they are inefficient?
__________________
hello |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: Jun 2009
Location: Asheville, NC
Posts: 2,277
|
Quote:
1) Any time a security exploit is found in the framework you've adopted, it's open season on YOU until it's fixed. 2) Your framework evolves at its own pace... not yours. Good luck getting a framework to adopt something you need on your schedule ;) 3) Lack of complete control of your source. If you don't like the way something in the framework operates you COULD change it but then what about all those updates? You're forever merging sources... lame. 4) The framework has to account for everything all the time. Frameworks generally create an abstracted layer of logic which, by its very nature, incurs additional overhead. Can anyone name a major player in mainstream that uses a framework they didn't write themselves?
__________________
ICQ: 258-202-811 | Email: eric{at}bestxxxporn.com |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Registered User
Join Date: May 2010
Posts: 90
|
PlugRush does use Cake.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
So Fucking Banned
Join Date: Aug 2008
Location: Just Blow Me
Posts: 10,551
|
bump 4 help
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Feb 2002
Location: ICQ: 251425 Fr/Au/Ca
Posts: 6,863
|
Always developed my own
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
Quote:
http://codeigniter.com/user_guide/toc.html
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
To build your own basic framework doesn't take a lot of effort, just some time, but once built it is very very lightweight and can be bloated up as much as you want depending on the job.
I'm all for getting a core working home-built framework and then using that to build on each client's needs. Just me. --edit guess why it's called a framework - it's the structure to build on top off, so why have the code to build a swimming pool if you live in Iceland, when all you need is the code to build a nice insulated house with open fire...
__________________
![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Join Date: Feb 2003
Posts: 819
|
Hey, just want to say thanks to everyone that has replied. This thread has helped a lot.
I just really wanted to try something new and wasn't sure if I should waste the extra time figuring out the framework thing. Thanks again. Any additional comments are welcome ![]()
__________________
hello |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
Confirmed User
Join Date: Jun 2009
Location: Asheville, NC
Posts: 2,277
|
Quote:
![]()
__________________
ICQ: 258-202-811 | Email: eric{at}bestxxxporn.com |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Registered User
Industry Role:
Join Date: Mar 2002
Location: San Diego, CA
Posts: 935
|
Something no one else has mentioned here - programmer portability. Go ahead and write your own framework/code/whatever, and if someone else has to work on it, they need to get up to speed, learn all the ins-and-outs, etc.
With a well-known framework (CodeIgniter is best IMO), another programmer can jump right into your code without too many problems. Not a big deal if you're planning on writing everything yourself for the rest of your life, but something to think about. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
Registered User
Join Date: May 2010
Posts: 90
|
Quote:
Open source code is less likely to have exploits than your own code, because thousands of programmers use/see/develop it. Sure, a site may not have the same exploits available that every other _insert framework_ site does, but I'd be willing to develop if someone sat there and wanted a crack at your site, it would be easier than finding an exploit in a framework. Just my ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |