Thinking of switching to PHP

Discussion in 'PHP' started by hansab, Jan 30, 2010.

  1. #1
    I have worked on ASP Classic and was thinking of moving to ASP.NET but i get lots of queries for PHP.

    What do you think, should i move to php ? if yes how long do you think it will take to be good in php ?

    Please Advice
    Thanks
     
    hansab, Jan 30, 2010 IP
  2. Silver89

    Silver89 Notable Member

    Messages:
    2,243
    Likes Received:
    72
    Best Answers:
    0
    Trophy Points:
    205
    #2
    It depends how quickly you pick up different programming syntaxes. I have no experience with ASP but I think it's Microsoft based and not linux?

    So if you have no other knowledge of other languages that have a slightly similar syntax to php such as bash, C then the changeover may be slightly complex.

    There are tons of tutorials online though so if you try searching for something like "php beginner tutorials" on Google then you'll get into it in no time!

    The only problem with php are the errors are kind of tricky to understand when you starting out and it's pretty easy to make errors, just keep trying and you'll get there eventually.
     
    Silver89, Jan 30, 2010 IP
  3. danx10

    danx10 Peon

    Messages:
    1,179
    Likes Received:
    44
    Best Answers:
    2
    Trophy Points:
    0
    #3
    The good thing with PHP is whenever theirs an error it indicates the line alongside a comment, theirfore you can easily debug.

    How fast you learn PHP really depends on how commited you are at learning it.

    W3schools and Tizag are one of a few sites which may help you, and php.net for the references on different php functions.
     
    Last edited: Jan 30, 2010
    danx10, Jan 30, 2010 IP
  4. sarahk

    sarahk iTamer Staff

    Messages:
    28,903
    Likes Received:
    4,555
    Best Answers:
    123
    Trophy Points:
    665
    #4
    Also consider the ramifications of working with 2 languages at the same time. I know I used to have heaps of "fun" working with vba in my day job (semi colon to end a line) and foxpro at home (semicolon to join lines).
     
    sarahk, Jan 30, 2010 IP
    Silver89 likes this.
  5. DivvyWork

    DivvyWork Peon

    Messages:
    81
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If you have a basic understanding of the way back end languages work you should be able to pickup PHP really quickly. Its a nice Easy language. Also since you are thinking of moving on to .NET you might want to look into C#.NET as the syntax of C# is very close to that of PHP.
     
    DivvyWork, Jan 30, 2010 IP
  6. SmallPotatoes

    SmallPotatoes Peon

    Messages:
    1,321
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I find PHP a lot easier to work with than the various Microsoft server-side web platforms.

    - Far better documentation

    - More capabilities out-of-the-box

    - Vastly more sample code online

    - Much more helpful community

    - Easier to deploy on a local test environment

    - Available on many more hosting servers
     
    SmallPotatoes, Jan 30, 2010 IP
  7. xenon2010

    xenon2010 Peon

    Messages:
    237
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    plus its free :D
     
    xenon2010, Jan 30, 2010 IP
  8. gr8webseller

    gr8webseller Peon

    Messages:
    1,097
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #8
    PHP is the best programming language and it is opensource,,, so don't think just move it,,,,
     
    gr8webseller, Jan 31, 2010 IP
  9. lkraj

    lkraj Greenhorn

    Messages:
    72
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #9
    I have used both PHP and .NET for some of my major projects. PHP is easy to learn, lot of sample codes out there, easy to debug and deploy, free and you can use it in combination with apache and linux. On the other hand, if you have lot of database calls to make (connection pooling etc), PHP can do the job but .NET might be a better choice.
     
    lkraj, Jan 31, 2010 IP
  10. happpy

    happpy Well-Known Member

    Messages:
    926
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    120
    #10
    if you are pro in ASP learning php will be easy for you
     
    happpy, Jan 31, 2010 IP
  11. puppetguy

    puppetguy Peon

    Messages:
    85
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #11
    PHP is the ONE!! Once learnt, u'll NEVER look BACK!!
     
    puppetguy, Feb 3, 2010 IP
  12. hansab

    hansab Active Member

    Messages:
    162
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    #12
    Thanks all of you for your advices, i think i should go for php :) Thanks
     
    hansab, Feb 3, 2010 IP
  13. xenon2010

    xenon2010 Peon

    Messages:
    237
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #13
    you can develop windows applications with PHP
     
    xenon2010, Feb 5, 2010 IP
  14. Silver89

    Silver89 Notable Member

    Messages:
    2,243
    Likes Received:
    72
    Best Answers:
    0
    Trophy Points:
    205
    #14
    What? :confused:
     
    Silver89, Feb 5, 2010 IP
  15. xenon2010

    xenon2010 Peon

    Messages:
    237
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #15
    using ZEE PHPEXE compiler -> very easy to use for beginners. transforms your site into windows application.
    or Winbinder -> very handy and powerful extension allows you to use win api with php.
    or PHP-GTK -> this is for advanced programmers. if you want to code an application with multi-os support this is the best solution.
     
    xenon2010, Feb 5, 2010 IP
  16. nadiralishah_webexpert

    nadiralishah_webexpert Guest

    Messages:
    229
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    if you are good in classic asp programming.. then php will not be a big deal for you.. i am sure.. you dont need to learn it, just start on it.. asp.net is also very good. but in self employed or freelancer, most clients want the work in php.
     
    nadiralishah_webexpert, Feb 5, 2010 IP
  17. alextera

    alextera Peon

    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #17
    I think it's more about knowing how to develop the logic of a program!
    and after that different syntaxes could be adopted easily! ;)
     
    alextera, Feb 7, 2010 IP
  18. cosminx2003

    cosminx2003 Active Member

    Messages:
    581
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #18
    PHP is easier to learn and use, more powerful, and it works both on windows and linux. If you know the algorithmic programming it should be easy to learn php pretty fast.
     
    cosminx2003, Feb 7, 2010 IP
  19. hansab

    hansab Active Member

    Messages:
    162
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    58
    #19
    Cosminx2003, Well that encourages me alot. As i always feel that php is more pain than asp, but i have finally decided to go for it from this week.

    Thanks everyone for all your advices.

    Regards
     
    hansab, Feb 9, 2010 IP
  20. windy

    windy Active Member

    Messages:
    1,093
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    #20
    php is easy to learn if you know other programming language.
     
    windy, Feb 9, 2010 IP