PSTUBb
May 25 2007, 01:08 PM
PHP Frameworks What do you guys think of coding websites using framworks like Zend or CakePHP? I used to code my applications from scratch but it does get tedious and because PHP is not as structured as other languages it's very easy to create redundant, unmaintainable code. I think a framework should be more than just a bunch of libraries. It's true that having libraries for functions specific to what you are trying to do might help alot but it takes more than that to create some maintainable code. What I' m talking about is MVC and Front Controllers. The Model, View, Controller (MVC) way of coding seperates the data from the functions and the functions from the display. It is much easier at this point to implement site-wide modifications and fixes. Frameworks allow you to do this easily by already having an engine to do the communication between these 3 layers. Read more on the MVC method by googling it  Here are some available Frameworks. Read up on them and their documentation and find out which one is right for you're website. Frameworks, by the way, can be difficult to learn at first, but once you get down, will greatly improve your efficiency, speed and maintainability. http://www.codeigniter.com (Very fast and light weight) http://www.cakephp.orghttp://framework.zend.com (Only runs on PHP5 but is apparently very extensive) http://www.xisc.com (Prado: Not MVC oriented) http://www.symfony-project.comhttp://seagull.phpkitchen.comhttp://www.phpwact.orgThere are plenty more out there that you can find, list your favorite, post questions etc. I'm currently learning how to use CodeIgniter, my new record label website will be built on it. (Hoping to turn this into a portable CMS which I can use in developpement of other websites, as clients don't like mucking around in HTML source and I'm tired of using other people's bloated CMS software when all I need is something simple.) Hope this helps all you programmers out there! Sean
Reply
masugidsk8r
Jul 8 2007, 04:58 PM
I'm using CakePHP which seems to be pretty good. It acts like Ruby on Rails. The thing I don't like about PHP in general is how it handles HTML formatting. The tags are out of place when PHP parses the views. I have to use a lot of CODE echo "\n"; to clean it up a bit. Right now I'm new to it so I can't say that it is efficient as of now. However, with the ORM implemented into this framework I don't have to worry much about SQL writing and using the (mysql) functions at all, which is a lighter load for me. I haven't checked out the others that are on your list but I'm moving to Ruby on Rails as soon as I finish this project that I'm working on right now.
Reply
Similar Topics
Keywords : php, frameworks, leaner, efficient, coding, quick, overview,
- My Thoughts On Few Browsers
A quick review on browsers I've tried (post your own too) (2)
Coding A Web Design
Need (a lot) of help with coding my web design (14) I have been here for some months and I have always wanted to get my page up and going. I have tried
to learn HTML, but it was too hard. Getting my web design coded is the only thing that keeps me from
actually being able to create the rest of my website. I know that many people find it fun to create
a website, and yes; I do to. But coding it is something out of my reach. Therefore I am asking you
for help. I am really hoping that there is some kind souls out there willing to use their time on a
little lost bear. If anyone with the right skills are willing to help me, I ....
Coding Help!
Need Tutorial?! (3) Hey, guys... How can I build the following things. I already made the simple administrator page
where I may add some news to the web-site, but I need to make one more things described below.
Please, help me if you can. This is the way how it has to work. The process is described by two
things of the illustrations: The first picture (or brief description of the news) will be
somehow placed on the main page, the main page may have several of those things. On the first
picture, you may see that is marked by red named : "Full Descr." that I mean full descriptio....
The Coding Group
(23) I'm sure by now everybody knows the evil group, and I've been waiting for somebody to make a
rival group to it and perhaps we could have a group battle. I was going to start one myself but I
didn't feel it appropriate being in both groups rival to each other so to inspire people to make
their own "groups" I created a neutral one. The coding group. The members and their tag lines are
as follows: QUOTE OpaQue (CrYpToLoGiC, MaDScIenTIsT, l33t Programmer) , galexcd
(Evil Programmer) , truefusion (Analyst Programmer) , ....
Usb Disk Ejector
The Quick Way to Safely Remove USB Drives (16) looking for a way to safely remove usb drives... QUICKLY? /tongue.gif"
style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> here's the USB DISK
EJECTOR for you! it's a small utility that does the same thing as the Windows "Safely
Remove Device" applet, except that it does it quicker and better. there is no installation required,
it's flexible (can run BOTH via command line, and GUI), it's portable, and most importantly,
it's a freeware! /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0"
alt="biggrin.gif" /....
Quick Surf Wallpaper
(0) Here is another one : Enjoy! Comments welcome! /smile.gif"
style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />....
A Quick Keys Typr Program
(2) Hi there, I was wondering, is there a peice of software that you press a button and it will
automatically paste something in. For example I would press Ctrl+R and it would paste "have a nice
day". Or I could press a button on the program itself with the same effect? Apreciate any help
karlos....
Just A Quick Post Of My Pictures
a couple quick photographs (1) Just a few pictures I took in downtown Dallas, near the farmer's market. I take a wide variety
of pictures, from football and other sport events to concerts, so I'll post some more
interesting ones in the future. Obviously, if anyone wishes to use these, ask permission first, and
give credit where it's due......
Heavenly Blur (mighty Quick And Easy)
(1) Ok, this is a super quick and super easy photoshop effect. Its so quick and easy, I don't even
need to post any screenshots to help you out. 1. Open Image 2. Duplicate Image 3. Guassian Blur
the image at a radius of 2, and change its opacity to 70% 4. Duplicate original again and drag it to
the top of the layers 5. Motion Blur it at 0 degrees at a distance of 20. 6. Motion Blur it again at
90 degrees at a distance of 20. 7. Set the motion blurred layer to a view mode of "Lighten" I will
post some before and after photos so you can see what it does. Before ....
Data On My Subdomain/webspace Vanished
I need quick response!!! (1) Okey, I noticed that there is no data on http://rvovk.computinghost.com/ I have had htaccess
redirect 301 files on computinghost server to point it to http://godbacrnomelj.rvovk.com/ Some
time in the past happened that this redirection is not functional anymore and also I can't get
logged onto my server. My email robertv@najdi.si was deleted, which I used for computinghost.com
registration, due to changing from free email service to paid email service, so I can't get nor
my new password nor information about server changes that happened on computinghost.c....
Replaced My Laptop Internal Hard Drive Today
Quick summary of the operation proceedure (6) I bought this MacBook Pro over 15 months ago and it came with a 160GB (149.1 GB in real terms)
Hitachi Hard drive that spins at 5400 RPM and is a bit noisy for whatever reason. Yesterday, UPS
delivered to me two WD 320 GB (298 GB in real terms) 5400 RPM drives. The second one is for a friend
who's going to pay me to install it in his Macbook Pro for him. I paid $190 each for the WD
Passports off of newegg.com which, oddly, is less than the hard drive without the Passport
enclosure. First challenge was getting the enclosures open without breaking them. There are....
Ah, Need A Quick Answer
(4) I have a dell stock motherboard Im buying a new one. the dell stock RAM.... is 333MHz at the
most.. http://www.compusa.com/applications/Search...&CatId=2014 that is the motherboard.. pic
of CPUZ Specifications QUOTE Form Factor: ATX Processor Interface: Socket 775
Processors Supported: Intel Pentium 4 LGA775 Intel 05A Intel 05B Intel Celeron D
Intel Pentium D Intel Core 2 Duo, Intel Core 2 Extreme, Intel 06, Intel Core 2 Quad
Additional Technologies: HyperThreading Technology Intel® EM64T, EIST, SLI Ready ....
Conserving Battery Power
Efficient usage of your laptop battery (3) I know this is very much known to many people. I recently stumbled upon this on Vista documentation
and thought it will be of some use to others... QUOTE Get the most from a single charge If you
have time to do only one thing... Use the Power saver power plan to minimize power consumption.
You can always return to this article later to try more power-saving tips. To choose the Power saver
plan, open Power Options in Control Panel. Ever run out of battery power in the middle of a
meeting? Has the urgent beep of your mobile PC's battery alarm made you th....
How To Change The Site Coding
(4) I have looked in the user manual and cant find on how to change the coding for the site, to put in
your own coding. Please tell me how. Masaki....
Most Efficient Code To Get Prime Numbers
(7) Can anyone write a more efficient code than this to get the prime numbers from 1 -999? //
Assignment: sieve.cpp // Purpose: To write the most efficient program // that outputs prime
numbers. #include #include #include // declare constant MAX_NUMBER to be the # of arrays. const
MAX_NUMBER = 1000; // declare array primes. bool primes ; // function prototypes void
initializeArray(); void findMultiples(); void printSubscripts(); int main() { // call to functions
initializeArray(); findMultiples(); printSubscripts(); return 0; }
//*****************************....
Overview Of Taoist Spiritual Development
may as well share some... (2) so as a disclaimer, i am not any form of official taoist, i have not been initiated into any
tradions, i dont follow any specific tradition, but i do focus my studies of taoism in the area of
herbology, excersize, and i try to understand the i ching. if i had to say i was anything i'd
say i am a person who studies "holistic tao sciences". barely even a taoist really... so with that
aside, and the reader takeing this info with a grain of salt i'd like to start talking a bit on
Spiritual Development in relation to taoism. okay ready? lets go! taosim is proba....
Flash Coding
(1) I don't know if this is the right section, but does anyone know how to do flash coding and/or
know a good site to learn it from? I'm trying to make a game like Naruto-Arena . One of my
friends told me it was made using flash coding and thats why I'm trying to learn it.....
Success On Adsense
5 Quick Tips (6) QUOTE As you use Google's AdSense for more and more time you begin to learn from the
mistakes of the past, and you slowly begin to realize which of your actions kept your site from
reaching its full potential. But an important part to making a mistake is telling people about it
and teaching them how to avoid making the same mistake. So this is a list of the top five mistakes
people using AdSense make. You should read them well, and see if any of them is applicable to your
contents. If it is, you must stop and attempt to fix such errors as quickly as possible. ....
How Do I Learn Web Design?
Not coding, i can code well already but how to make it look good? (48) Hi all. In my quest to become a website creator I have a big obstacle.. when it comes to design, eg
making things look good i might as well be blind. Im useless! I can code to a decent standard
in HTML PHP CSS MYSQL and JS but i am useless at making a nice design. So wha im after is advice on
how to learn this, what i fear is a response of "you can *learn* how to design, you either can or
you cant.". Its really important that im able to design a nice looking website because not many
people have a concise set of drawings from which to code the website. Any advice ....
Real Paying Site
Easy and quick (7) That site really pays and I have recieved my first payment of 10 dollars. This is really easy not
much of a big minimum payout and if you want you too can make money by just going here and signing
up http://adbux.org If you want please do add me as a referrer as zak92 Thank you.....
I Need Recipes That Are Easy And Very Quick To Make
(25) Hey, I need recipes that are easy to make and fast. I work from home but am flooded with people all
the time so I need to usually take off atleast 1 hour for those jerks /tongue.gif"
style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> as it goes for cooking and
serving and junk. Help if anybody can, I am running out of recipes for my friends and family.
Thanks a lot guys. I dont have the time to watch shows and as most of you can cook I will be happy
about your recipes But I do not want any spamming here. Thanks....
Learn Html Quick And Easy
HTML, javascript, and CSS (14) well eversince i got interested in web desighn i've looked for tutorials but they where not that
helpfull and uderstanderble but there where two web sites that i liked 1. my favorite one was
htmldog it had tutorials on HTML, CSS, and a little bit of javascript. they where very
comprehenseve . and i read through all of them, understoode them, in about less than a week. also
has full references for HTML, and CSS tags. 2.since html dog did not provide realy good javascript
tutorial i looked to w3school for that while it wasnt very understandable too me, maybe it....
Changing The Windows Xp Splash Screen
another quick tutorial (10) First make create 16 bit 640*480 image and save it as boot.bmp in 'c:\windows'
directory Click Start|Run and type c:\boot.ini. The file opens in Notepad. Look for an entry
similar to this. CODE
"multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft
Windows XP Professional" /noexecute=optin /fastdetect" Add /noguiboot /bootlogo at the
end of the line so that it looks like this. CODE
"multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft
....
Saddam Hussein Is Executed
Quick! Fresh! (28) No news topics are available online yet, since I posted this 20 minutes after it was announced on
the news. He was executed, finally. /tongue.gif" style="vertical-align:middle" emoid=":P"
border="0" alt="tongue.gif" />....
More Efficient Way To Double Buffer
(1) For a long time I used a BufferedImage/Graphics(2D) to double buffer my programs but someone
recently pointed out something to me that is much more efficient: JFrames can automatically create
buffers. The way that I used to use was like this: CODE private BufferedImage image; private
Graphics buffer; public NameOfJPanel() { image = new BufferedImage(WIDTH, HEIGHT,
BufferedImage.TYPE_INT_RGB); buffer = image.getGraphics(); ... } public void
paintComponent(Graphics g) { g.drawImage(image, 0, 0, null); } priva....
Sattelite,reseiver(star Sat),coding ....
(5) Hello , in This topic first I tell you about RS 232 cable that you must have to upgrade your
reciever: Cable RS 232 Secend about Star-sat Reciever i want to tell you: go to Menu>STB
Status>h/w = ? if = 2.10 its 1 mb if = 3.10 or 3.00 its 2 mb if = 7 its 2 mb Then go to
http://satdw.com and download your path and loader (EM upgrade) and Dream loader(for softcam) then
read " Guide To Download" to knopw how to upgrade!! I Will tell sth else if you like!
please tell your Idea about this /blink.gif" style="vertical-align:middle" emoid=":blink:"
border="0" a....
Quick Question
Is there a limit on the size of the MySQL database? (8) Question's in the title!....
Gmail Skinning - A Quick Guide
via CSS! :D (27) tired of the same GMAIL look? GMAIL starting to melt your eyes with its antiseptic colors?
/tongue.gif' border='0' style='vertical-align:middle' alt='tongue.gif' /> i know it can be a bit
harsh... but didn't you wish that you can change how your gmail looks when you log into it?
/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> surely you will want to try
this out: SKIN GMAIL! /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'
/> some basics: * you would need a GMAIL account (obviously! /biggrin.gif' bor....
How To Make A Very Simple Wap Site
A quick tutorial about WML language (40) WAP Site Tutorial : How to Make A Wap site? Before We begin.. Defination from the
Web about Wap. QUOTE WAP is an open international standard for applications that use
wireless communication . Its principal application is to enable access to the Internet from a
mobile phone or PDA .A WAP browser provides all of the basic services of a computer based web
browser but simplified to operate within the restrictions of a mobile phone. WAP is now the
protocol used for the majority of the world's mobile internet sites, known as WAP sites ....
Free Vb Coding Program
Trying to find one (10) does anyone know where I can find a free copy of vb, but no luck. Is there a program that I can
download to code in vb? I probably wont be using it to make cash, but you know.....
Looking for php, frameworks, leaner, efficient, coding, quick, overview,
|
|
Searching Video's for php, frameworks, leaner, efficient, coding, quick, overview,
|
advertisement
|
|