Why you should use a Web Application framework

web developmentEven though I have been programming for years, I have never actually fully utilized a web application framework when developing web applications. Part of the reason being that I may be a bit too proud to adopt someone else’s programming structure. I used to believe in my own codes so I always write applications from scratch. That was a big mistake. After I found and studied a great web application framework for PHP since just a few weeks ago, I realized how much time I have wasted all these while and how many headaches I had to go through just to rewrite the same codes and reinvent the wheel all over again.

For those who are new to web application framework, I’ll try to explain it briefly here. Everytime we start writing a web application, there are some basic codes that we need to repetitively write again and again. We had to write the database connection classes for the database access layer, we had to write every objects classes with their basic CRUD methods. Then we had to deal with so many annoying basic issues like Access Control Lists (ACL), data sanitizations, authentications and authorizations, session handlings, and you know… the rest of those stuffs. This same repetitive coding is a waste of time if you keep writing them from scratch. Plus, you can’t be really sure that the structure of your code is secure and lightweight enough to run. Then you started to wonder, “Am I doing this correctly? Is this exactly how everybody does it?” Here’s where an application framework comes in. An application framework is basically a standard programming structure that already pre-defines those repetitive stuffs as well as any other necessary functions so that you can easily and effectively write your web applications in no time.

Let’s see some of the few benefits that I find when using a Web Development Framework:

1. It saves a hell lot of time

Because you don’t need to worry about data sanitizaion, session handling, error handling, and authentication logics anymore (ok maybe just a little bit). Most of these are well taken care of by the framework. No more head scratching. You can start writing functions for your apps straight away without wasting anymore time with those repetitive codings. Double up development process!

2. Organized application structure

Another thing to not worry is about managing your web files and directories. The framework will already have a good skeleton structure to use. No more stuffing PHP files here and there and then realizing at one point that you have messed up with your files’ placings. Business logics can be separated from the interface files. Things get more organized.

3. Flexibility over different platforms

I’m a MYSQL user. If you give me a Postgresql database to use, I’d be scratching my head again if I am to write the application from scratch. Luckily a framework can help me not to waste time studying things that don’t really matter. A few tweaks can ship my application from one platform to another.

4. Secure codes

This is another huge advantage of using a development framework. You can be sure that your application is using good security measurements because the framework takes care of it. No need to worry over those nerd hackers trying to break your application anymore. In fact, I’ve never been truly confident that my application is secure if I write them from scratch. Now that I’m starting to use a framework, I feel much… much better :D

There are endless other benefits of using a web application framework but to list them all here is crazy. So I’ll let you decide the rest of them. I mainly develop web apps in PHP, so the framework that I’m currently exploring is CakePHP. I’ve looked into other PHP frameworks but so far I guess CakePHP got my attention the most.

Tags: 
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • BlinkList
  • Ma.gnolia
  • Reddit
  • StumbleUpon


15 Responses to “Why you should use a Web Application framework”

  1. mdpai Says:

    nice post. keep it up… wanna exchange links?

  2. Tengku Zahasman Says:

    I’d be glad to ;)

  3. How much money do you need to start a Web 2.0 business? | Web 2.0 Entrepreneur Says:

    […] - Outsourcing is cheap. - Existing programming components can be reused. Think about rapid PHP frameworks and Ajax frameworks - Google is your library for doing researches - Advertising can be free by […]

  4. Comparing Web Application development | Web 2.0 Entrepreneur Says:

    […] This is an interesting video I found on Google video which shows a practical comparison between developing web apps using J2EE, Zope/Plone, Ruby on Rails, TurboGears and DJango, all of which are different application frameworks utilizing various programming/scripting languages like Java, Ruby and Python. Although I mainly build applications using PHP (recently adopting CakePHP as the framework), it’s also interesting to see how other developers develop web applications using different languages and frameworks. Afterall, since CakePHP’s structure is also based on Ruby on Rails, I watched the video by assuming RoR’s advantages/disadvantages to be that of CakePHP’s. If in case you don’t know why it’s better to adopt a Web Application framework instead of writing codes from scratch, here’s why. […]

  5. Studying CakePHP 1.2 so far… | Web 2.0 Entrepreneur Says:

    […] than the usual way we write applications. But even though learning a framework is not a snap, the benefits you get after mastering it is just […]

  6. rahul Says:

    thanks for publishing nice article about frame work

  7. Tengku Zahasman Says:

    You’re very much welcome :)

  8. slacker Says:

    great article.. never thought i’d fine a local blog writing these topics..

    being in a somewhat similar position, i’ve been writing apps in classical asp for awhile and am looking to make the hop tp python/django pretty soon..

  9. Frameworks – Reutilização De Código | Webmaster.pt - Marketocracia Digital Says:

    […] you should use a Web Application framework. http://web2.0entrepreneur.com/7/why-you-should-use-a-web-application-framework.html Partilha Este Artigo Por […]

  10. NaomiDuke34 Says:

    According to my analysis, billions of people on our planet receive the lowest-rate-loans.com at good creditors. So, there is a good possibility to receive a bank loan in any country.

  11. fico score Says:

    On most of the sites I work on Bob does the design and lays out the groundwork for the theme. But, I do on a semi-regular basis (once every couple or few months) pump out a design. For those I write custom CSS. My last 4 projects have been so radically different that there is no base CSS framework that would cover them.

  12. Good Online Casino Says:

    A web application framework is a software framework that is designed to support the development of dynamic websites, web applications and web services, the such a great resource that you are providing and you give it away for free..

  13. Buy Viagra Says:

    Thanks for the tips, i really agree with this because this will make your stance on internet better with good internet services and you don’t have to go through many pages to reach just one.

  14. baltimore oriole hats Says:

    Today owning a new and trendy looking monster energy hats are not only meant for the wealthy people. These are now made luxurious and affordable red bull new era hats to reach out to every budget and range. You can just enjoy them by ordering arizona diamondbacks hats online where you get the complete satisfaction and genuine quality at best possible rates. The finish, quality and designs you get from baltimore oriole hats are really astonishing and you will love them all.

  15. Emenac call Center Services Says:

    With the help of Emenac contact center for caribbean cruise line company will be able to form better brand image. Render Emenac Call Center Services to cut cost and get more profit. Visit our website ecallcenterservices.com or call us now at our toll free number 1.888.909.2207 to know more about us.

Leave a Comment