Results 1 to 15 of 15

Thread: To PHP, or not to PHP

  1. #1

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    To PHP, or not to PHP

    I've moved over to web dev using asp.net from deskop apps about 3 months ago.

    So far, I found the .net easy to use, convenient, blah blah...but I'm just FED UP with all the performance issues on have when you rely on .net to do your things.

    I really want to stick with web dev...find it really stimulating.

    Now I look at some really good sites (like our forums here) and helllooooo...PHP!

    So I started thinking of carry on doing asp.net at work (too late to turn back now), but start doing my own stuff in PHP, and eventually switch over to PHP (plan to start working on my own later this year)

    Will anyone be so kind to tell me the pro's and con's of such decision, and wether you would advice it?

    Also I would like some info like:
    1) Good resources (sites, books, articles, forums, etc)
    2) Startup tips
    3) Most commonly used development tools. (gimme a text editor with numbered lines and I'm happy!)
    4) Most commonly used technologies with PHP (like mySQL for db? how about ms sql server, which I'm pretty used to)

    Thanks for your time, and hope to get some replies soon!

    StraNger!
    Install and Configure Eclipse For both Java and PHP development
    Accessible Ajax/jQuery Forms Degrade gracefully with JavaScript Disabled

  2. #2
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765

    Re: To PHP, or not to PHP

    1) http://www.php.net for all your PHP needs And even cooler, http://www.php.net/md5 , allows you to search for information on a function easily.
    2)Plan out what your doing if its going to be complcate
    3) EditPlus is nice, and I quite like TextWrangler on the Mac, and of course PHPMyAdmin
    4)PHP + MySQL is usually all you need to begin with. PHPMyAdmin is great tool to manage MySQL db's... I don't think theres much difference between MS SQL and MySQL though...
    5
    Don't Rate my posts.

  3. #3

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    Re: To PHP, or not to PHP

    just seen on php.net, that php 4.sth were released this month...Datacide mentioned a book on php5....Sth I should know about the differen t versions?

    to start out with, I ust got php and mysql for dummies.

    Will go shop for books the week-end (if I can get anything in English.....these chinese are lucky man. Hundreds of books on every topic you can imagine in te shops. The a few english books in the corner... )
    Install and Configure Eclipse For both Java and PHP development
    Accessible Ajax/jQuery Forms Degrade gracefully with JavaScript Disabled

  4. #4
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765

    Re: To PHP, or not to PHP

    I wouldn't bother with PHP5 just yet, theres alot of changes or something that will break programs written in PHP4, so not many places use it.
    Don't Rate my posts.

  5. #5

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    Re: To PHP, or not to PHP

    I should have read the "Read First" post. Some great links there by VisualAd (Thanks bru!)

    Can anyone tell me in all honestly if they agree with me, that adding php to my skills , and over time turning my back on asp.net, is a good idea???

    least I will be able to put asp.net, ms sql, php, mysql on my resume.
    Install and Configure Eclipse For both Java and PHP development
    Accessible Ajax/jQuery Forms Degrade gracefully with JavaScript Disabled

  6. #6
    Hyperactive Member PlaGuE's Avatar
    Join Date
    Jun 2005
    Location
    in ur mind.
    Posts
    445

    Re: To PHP, or not to PHP

    http://wrox.com/WileyCDA/WroxTitle/p...764579665.html

    It helped me alot. its PHP5. I havent had any problems with it.

    Also theres PHPEdit from http://www.waterproof.fr/

    Get the free trial. if you like it. Buy the license. Or you can apply for a Personal License. Which is just as good and FREE. Which is what i have.Has FTP support.

    Alot of People Prefer notepad.
    A few people i know use Syn Text editor. From http://syn.sourceforge.net/

    Then theres Dreamweaver. Not Free. But its koo. Has FTP support.

    Theres tons of others. But these are what i know and have used.

    ----------------
    I have a ASP.NET book. I dabbled in it for 6 months.
    The oly problem i had was finding a ASP host.

    You can pretty much embed the PHP in the HTML. Just like you do with ASP.


    My dad had to learn ASP for work. Where-as I learned PHP to use as a hobby.
    Last edited by PlaGuE; Jan 17th, 2006 at 02:18 AM.
    Without balance, there could only be chaos.
    Without chaos, there could be no balance.
    I live with karma. Eat with destiny. Dream of life without shackles....
    Yet. If life had no consequences, life could not exist, nor could it flourish.


    If at first you dont succeed.You're screwed.

    C++/Java NOOB.

    I aint a professional at PHP, but if i can help i will.

  7. #7
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: To PHP, or not to PHP

    There is no harm in learning another language. I prefer PHP of ASP.net for several reasons, but the main being that PHP is cross platform and I can have an entrie development envrionment runnning off my USB disk.

    I am inclined to disagree with PcM, PHP 5 is now stable and the change from 4 isn't too bad. You'll have most problems if your programs make a lot of use of PHP 4's object model, however, it is still backward compatible.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  8. #8

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    Re: To PHP, or not to PHP

    I kinda got used to using CrimsonEditor for editing html...maybe stick with that, will see.

    Right now looking at Apache Web Server. I see I can use IIS, but why not make use of the oppurtunity to add apache to my skills, and in the future, get me another box, figure out linux, and have apache run on it?
    I read here like 65% of websites use apache, 25% IIS...wow! Would never have guessed.

    This is gonna be fun....one set of technologies at work, another for home .
    Install and Configure Eclipse For both Java and PHP development
    Accessible Ajax/jQuery Forms Degrade gracefully with JavaScript Disabled

  9. #9

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    Re: To PHP, or not to PHP

    Quote Originally Posted by visualAd
    I am inclined to disagree with PcM, PHP 5 is now stable and the change from 4 isn't too bad. You'll have most problems if your programs make a lot of use of PHP 4's object model, however, it is still backward compatible.
    ...hmmm...and I liked the way this php with mysql for dummies started.
    got php5 and mysql bible too now, so will carry on with that, after learning to install and use apache and mysql.
    Install and Configure Eclipse For both Java and PHP development
    Accessible Ajax/jQuery Forms Degrade gracefully with JavaScript Disabled

  10. #10
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765

    Re: To PHP, or not to PHP

    Quote Originally Posted by visualAd
    I am inclined to disagree with PcM, PHP 5 is now stable and the change from 4 isn't too bad.
    Ahh, that must be why every hosting company offers PHP 5 now instead of PHP 4... oh.. hang on a minute..
    Don't Rate my posts.

  11. #11
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: To PHP, or not to PHP

    My hosting company offers both. The website I run also uses PHP 5.

    Apache 1.3 with PHP 4 is still the most stable and recommended for production environments though, which is why most hosts only offer PHP 4. I have run into a few bugs with PHP 5 so you are right, I just don't agree.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  12. #12
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: To PHP, or not to PHP

    PcM, the companies offer PHP4 because of existing code. But continuing to write code in PHP4 now would be a mistake, I think. PHP5's object model offers a lot over PHP4, and several other extensions are very nice, too. (PDO anyone?)
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  13. #13
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: To PHP, or not to PHP

    I split the Linux posts to this thread: http://www.vbforums.com/showthread.php?t=382595
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  14. #14
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594

    Re: To PHP, or not to PHP

    Quote Originally Posted by visualAd
    My hosting company offers both. The website I run also uses PHP 5.

    Apache 1.3 with PHP 4 is still the most stable and recommended for production environments though
    I agree about the PHP part, but no way is Apache 1.3 in any way recommended over 2.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  15. #15
    Hyperactive Member BramVandenbon's Avatar
    Join Date
    Jan 2002
    Location
    Belgium
    Posts
    502

    Re: To PHP, or not to PHP

    just wanted to add: Dreamweaver these days works great with PHP. These days Dreamweaver and PHP go together like C# and Visual Studio. You should really give it a shot. You won't regret it.
    ____________________________________________

    Please rate my messages. Thank you!
    ____________________________________________
    Bram Vandenbon
    http://www.bramvandenbon.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width