Click here to Skip to main content
15,901,205 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all ,

I want to start working on php. Ad i already saw many frameworks for php and saw many articles ranking those frameworks but i want to ask someone who had already worked on php and used some frameworks about his opinion and his advice to me on what framework to use .

Thanks in advance .
Posted
Comments
Manfred Rudolf Bihy 4-Jun-11 9:09am    
And now to get somebody to give you that advice you'd have to tell us what kind of work you need/want to accomplish. Eventhough PHP is frequently used to web affine development it can also be used for a lot of different stuff.
Please elaborate on what special kind of framwork tickles your fancy.
Sergey Alexandrovich Kryukov 5-Jun-11 1:23am    
As OP explained that just the basics are needed, the answer is obvious.
Please see my solution.
--SA
mhamad zarif 4-Jun-11 13:09pm    
actually i dont have specific thing to do.But all what i want is that i want to start learning php .
Sergey Alexandrovich Kryukov 4-Jun-11 20:45pm    
Platform for the server? Windows? Linux?
--SA

1 solution

To start learning PHP, you need two things: HTTP Server and PHP with binding to this server. I strongly suggest to use most popular bundle:


  • Apache HTTP Server from http://apache.org/[^].
  • PHP from http://php.net/[^]. Windows binaries are found here: http://php.net/[^], Linux binaries are usually comes with the distro or can be build from source: http://php.net/downloads.php[^]; for other OS, see the same page.
  • Apache module for PHP support: mod_php5. Is can be found in PHP installation. There are many way to install and run PHP. You can use PHP as a stand-along application, but for Web development is'ts the best to install it as Apache module.
  • PHP documentation: see http://php.net/docs.php[^].


This does not include PHP debugger. For debugging, I like using unusual way: PHP for .NET product called Phalanger, see http://en.wikipedia.org/wiki/Phalanger_(compiler)[^], http://phpcompiler.net/[^]. Visual Studio integration is also available. It is designed to be used with ASP.NET, but I used to use it for development "standard" PHP pages with mod_PHP5. I developed and debugged separate PHP units and after testing inserted them in my PHP pages. The reason for using "standard" way of using PHP with Apache mode_PHP is that it is a standard part of LAMP bundle (http://en.wikipedia.org/wiki/LAMP_(software_bundle)[^]). Web hosting based on LAMP is very popular and inexpensive (ASP.NET hosting is usually mode expensive), is became a standard-de-facto, so you can expect pretty much standard services with guaranteed standard feature.

For learning PHP and development you don't need any hosting; you should install and run the bundle explained above on your development computer.

I would not recommend learning PHP for first or second computer language — it does not help to learn good and clean programming techniques, in contrast to ASP.NET, which is based on .NET with very good, clean and modern programming culture.

Good luck,
—SA
 
Share this answer
 
v2
Comments
mhamad zarif 5-Jun-11 4:28am    
Thank you very much my friend.It was a great help,and programming is great because of people like you.
Sergey Alexandrovich Kryukov 5-Jun-11 12:53pm    
You're very welcome.
Thank you for accepting this solution, and even more for your good words.

Good luck, please call again.
--SA
mhamad zarif 5-Jun-11 13:56pm    
I will call again for sure.Beginners like me always need the help of professional like you.
Manfred Rudolf Bihy 5-Jun-11 5:22am    
Good answer, SA! +5

Proposed as solution!
Sergey Alexandrovich Kryukov 5-Jun-11 12:56pm    
Thank you, Manfred.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900