caramoan tour package

caramoan tour package

Author Topic: Why use Frameworks for PHP ?  (Read 826 times)

Offline Pro-Engineer

  • Diesel Generator
  • *
  • Posts: 1028
  • Pogi/Ganda Points: 11
  • Gender: Male
  • Pinoy Engineer
    • IEEE Philippines - Established 1975
Why use Frameworks for PHP ?
« on: November 01, 2010, 09:16:25 PM »
I have just used simple PHP with WAMP server installed and build small application. I don't know how frameworks are useful in PHP.. Can any one tell me how is the life WITH and WITHOUT frameworks ? any recommendation for choosing framework as I am a beginner ?
----


Philippine Electronics Forum

Why use Frameworks for PHP ?
« on: November 01, 2010, 09:16:25 PM »

Offline screamonster

  • Size AAA Battery
  • ***
  • Posts: 68
  • Pogi/Ganda Points: 6
  • Super Saiyan!
Re: Why use Frameworks for PHP ?
« Reply #1 on: November 03, 2010, 01:29:21 PM »
since you're using php... heres some link about php best practices for beginners.

http://net.tutsplus.com/tutorials/php/30-php-best-practices-for-beginners/

it will help you a lot! :D
Paamayim Nekudotayim => ::

Philippine Electronics Forum

Re: Why use Frameworks for PHP ?
« Reply #1 on: November 03, 2010, 01:29:21 PM »

Offline Pro-Engineer

  • Diesel Generator
  • *
  • Posts: 1028
  • Pogi/Ganda Points: 11
  • Gender: Male
  • Pinoy Engineer
    • IEEE Philippines - Established 1975
Re: Why use Frameworks for PHP ?
« Reply #2 on: November 03, 2010, 11:08:20 PM »
afaik, its for reusability and portability. any other opinions?
----


Philippine Electronics Forum

Re: Why use Frameworks for PHP ?
« Reply #2 on: November 03, 2010, 11:08:20 PM »

Offline agimat

  • Size AAA Battery
  • ***
  • Posts: 67
  • Pogi/Ganda Points: 1
    • PHP Programmer . Python . Ruby . Manila . Philippines
Re: Why use Frameworks for PHP ?
« Reply #3 on: November 04, 2010, 05:32:46 AM »
afaik, its for reusability and portability. any other opinions?

Depende sa scale ng project. For very simple unstructured projects a framework will be a burden while
for medium scale projects naman ay time-saver talaga.

You also mentioned na you've just started learning, learn the language muna and be comfortable
with it bago ka mag adopt ng framework.  Kung mag framework ka agad, you wouldn't know what
to do with the available components.

rlachenal.com - PHP Programmer . Python . Ruby . Manila . Philippines
loadmango.com  - The juiciest prepaid card deals online

Philippine Electronics Forum

Re: Why use Frameworks for PHP ?
« Reply #3 on: November 04, 2010, 05:32:46 AM »

Offline screamonster

  • Size AAA Battery
  • ***
  • Posts: 68
  • Pogi/Ganda Points: 6
  • Super Saiyan!
Re: Why use Frameworks for PHP ?
« Reply #4 on: November 04, 2010, 11:05:19 AM »
Depende sa scale ng project. For very simple unstructured projects a framework will be a burden while
for medium scale projects naman ay time-saver talaga.

You also mentioned na you've just started learning, learn the language muna and be comfortable
with it bago ka mag adopt ng framework.  Kung mag framework ka agad, you wouldn't know what
to do with the available components.



i agree with that, and also, idadagdag ko lang, mas maganda kung imamaster or just familiarize mo muna yung language bago gumamit ng frameworks, madali ka na kasing mag dagdag ng mga gusto mong plugins doon. Mas madali pang mag adapt sa iba't ibang frameworks (e.g. codeigniter, cakephp, doctrine, drupal, etc.) Kung frameworks lang ang pag aaralan mo, ang liit lang ng sakop ng knowledge mo.
Paamayim Nekudotayim => ::

Philippine Electronics Forum

Re: Why use Frameworks for PHP ?
« Reply #4 on: November 04, 2010, 11:05:19 AM »

Offline Macgyver

  • Diesel Generator
  • *
  • Posts: 1440
  • Pogi/Ganda Points: 70
    • MakerDude
Re: Why use Frameworks for PHP ?
« Reply #5 on: November 04, 2010, 11:20:20 AM »
usually frameworks follow the MVC  model (model-view-controller).  One practical application is that with this model, there is separation of logic and user interface to for big projects,  your user interface designers can mess around with their design stuff (view) without affecting the core logic of your code (controller).

Then there are frameworks like the one from Zend where you can actually just used the libraries/classes without really using the framework itself so madali na gumamit ng mga interfaces to google API, xmlrpc, json..etc.
Become a Virtual Worker |  MakerDude.com Electronics Shop is now OPEN!

Offline Pro-Engineer

  • Diesel Generator
  • *
  • Posts: 1028
  • Pogi/Ganda Points: 11
  • Gender: Male
  • Pinoy Engineer
    • IEEE Philippines - Established 1975
Re: Why use Frameworks for PHP ?
« Reply #6 on: November 04, 2010, 01:13:51 PM »
ano po review niyo sa codeigniter? mas madali bang gamitin?
----


Offline screamonster

  • Size AAA Battery
  • ***
  • Posts: 68
  • Pogi/Ganda Points: 6
  • Super Saiyan!
Re: Why use Frameworks for PHP ?
« Reply #7 on: November 04, 2010, 01:39:55 PM »
codeigniter is one of the very good and reliable of all mvc frameworks of php.

it has a lot of advantages:
- it is very compact and portable (size of the whole CI package is less than 3mb).
- cleaner coding.
- it has a lot of plugins, "helpers" that you can use and it is "nearly zero configuration".
- wide compatibility in web standard hosting.
- exceptional overall performance.
- good for starters in using php framework.
Paamayim Nekudotayim => ::

Offline Pro-Engineer

  • Diesel Generator
  • *
  • Posts: 1028
  • Pogi/Ganda Points: 11
  • Gender: Male
  • Pinoy Engineer
    • IEEE Philippines - Established 1975
Re: Why use Frameworks for PHP ?
« Reply #8 on: November 05, 2010, 05:51:28 PM »
sir, paano po cakephp? if you were to choose ano po fw gagamitin niyo?
----


Offline screamonster

  • Size AAA Battery
  • ***
  • Posts: 68
  • Pogi/Ganda Points: 6
  • Super Saiyan!
Re: Why use Frameworks for PHP ?
« Reply #9 on: November 05, 2010, 06:05:20 PM »
kung sa portability lang nmn pagbabasihan and sa easy coding, codeigniter ka nalang.
Paamayim Nekudotayim => ::

Offline Pro-Engineer

  • Diesel Generator
  • *
  • Posts: 1028
  • Pogi/Ganda Points: 11
  • Gender: Male
  • Pinoy Engineer
    • IEEE Philippines - Established 1975
Re: Why use Frameworks for PHP ?
« Reply #10 on: November 05, 2010, 06:28:58 PM »
thanks po. request sana post kayo ng examples na nagawa niyo.
----


Offline screamonster

  • Size AAA Battery
  • ***
  • Posts: 68
  • Pogi/Ganda Points: 6
  • Super Saiyan!
Re: Why use Frameworks for PHP ?
« Reply #11 on: November 05, 2010, 08:51:09 PM »
try exploring the codeigniter website, may mga tutorials po dun... meron ako ginawa na gawa sa codeigniter, in-up ko na sya sa free webhost account ko e... its only a sample information website pa lng...
Paamayim Nekudotayim => ::

Offline Pro-Engineer

  • Diesel Generator
  • *
  • Posts: 1028
  • Pogi/Ganda Points: 11
  • Gender: Male
  • Pinoy Engineer
    • IEEE Philippines - Established 1975
Re: Why use Frameworks for PHP ?
« Reply #12 on: November 07, 2010, 12:59:42 PM »
wala masyadong examples and tutorials sa site nila.
----


Offline screamonster

  • Size AAA Battery
  • ***
  • Posts: 68
  • Pogi/Ganda Points: 6
  • Super Saiyan!
Re: Why use Frameworks for PHP ?
« Reply #13 on: November 08, 2010, 11:57:56 AM »
eto nalang po sir, di ko malagay dito yung video kaya link nlng

bale series to sir paki visit nlng
http://net.tutsplus.com/articles/news/codeigniter-from-scratch-day-1/

i hope it will be a great help for you sir :D
Paamayim Nekudotayim => ::

Offline Pro-Engineer

  • Diesel Generator
  • *
  • Posts: 1028
  • Pogi/Ganda Points: 11
  • Gender: Male
  • Pinoy Engineer
    • IEEE Philippines - Established 1975
Re: Why use Frameworks for PHP ?
« Reply #14 on: November 08, 2010, 03:20:36 PM »
thanks. hirap din kasi maghanap ng tutorials.
----


Offline screamonster

  • Size AAA Battery
  • ***
  • Posts: 68
  • Pogi/Ganda Points: 6
  • Super Saiyan!
Re: Why use Frameworks for PHP ?
« Reply #15 on: November 08, 2010, 04:46:31 PM »
marami dyan sa nettuts, search ka lang :D
Paamayim Nekudotayim => ::

Offline Pro-Engineer

  • Diesel Generator
  • *
  • Posts: 1028
  • Pogi/Ganda Points: 11
  • Gender: Male
  • Pinoy Engineer
    • IEEE Philippines - Established 1975
Re: Why use Frameworks for PHP ?
« Reply #16 on: November 10, 2010, 05:35:45 PM »
may e-book kaya?
----


Offline screamonster

  • Size AAA Battery
  • ***
  • Posts: 68
  • Pogi/Ganda Points: 6
  • Super Saiyan!
Re: Why use Frameworks for PHP ?
« Reply #17 on: November 11, 2010, 12:41:53 PM »
indi ko lang alam, pero may user guide sila sa website nila...
Paamayim Nekudotayim => ::

Philippine Electronics Forum

Re: Why use Frameworks for PHP ?
« Reply #17 on: November 11, 2010, 12:41:53 PM »

 

Privacy Policy

Contact Us: elabph@yahoo.com