SitePoint Sponsor

User Tag List

Results 1 to 11 of 11
  1. #1
    SitePoint Zealot Ethan-27's Avatar
    Join Date
    Jan 2011
    Posts
    152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is PHP really the best language to use for blogs and forums nowadays...?

    Hi guys

    Most blogs/forums use php to work and I was just wondering is php still the best one to use...?

    From what Ive heard cms's like wp, drupal etc are very very easy to hack into the admin panel. Is this because of bad coding or are there just better, less complicated languages out...?

    If someone was to consider another language to write a blog or perhaps forum with what would you suggest.

    I have to say Ive been learning php for a couple of months now and it is still confusing the hell out of me (but it is my first programming language)


    P.S If this is the wrong forum I do apologise, it just seemed the most relevant

  2. #2
    SitePoint Enthusiast keithclark's Avatar
    Join Date
    Jan 2011
    Posts
    89
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PHP is the best language to use in general but Python and Ruby are fighting for it's spot with Python coming close!

  3. #3
    SitePoint Enthusiast
    Join Date
    Oct 2009
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PHP is just the most popular, you'll find more resources for it. but then ASP/Python/Java are other ones you can use. If you're not sure jsut go for PHP you wont regret it.

  4. #4
    SitePoint Zealot Ethan-27's Avatar
    Join Date
    Jan 2011
    Posts
    152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks guys

    The only thing I dont like about php is that to do one small thing seems to take bloody ages to write, line after line.

    Im not sure how other programming languages are but coming from css and html it sure is different lol

  5. #5
    SitePoint Evangelist
    Join Date
    Aug 2005
    Location
    Winnipeg
    Posts
    498
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PHP is more popular and facilitates less experienced developers than say C++ might. No reason blogs and forums shouldn't still be written in PHP though, it's more than capable.

    Cheers,
    Alex
    The only constant in software is change itself

  6. #6
    Who turned the lights out !! Mandes's Avatar
    Join Date
    May 2005
    Location
    S.W. France
    Posts
    2,496
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    At the end of the day it all comes down to to the coding, not the language used.

    Re your comment on PHP taking ages to write :-

    The higher level the language the less flexible it is by default. Dropping down to a low level language and you are playing with the building blocks of programming, 'machine code' , instructing the processor for every step anything is possible, but it takes much more effort and time.

    Good languages have to balance between the the two extremes to make them intuitive to us humans yet flexible enough to adapt to our needs.

    As with everything, learning and becoming proficient takes time and practice, there is no quick fix or shortcut, just keep on doing it
    A Little Knowledge Is A Very Dangerous Thing.......
    That Makes Me A Lethal Weapon !!!!!!!!

    Contract PHP Programming

  7. #7
    SitePoint Zealot ChrisWiegman's Avatar
    Join Date
    Sep 2010
    Location
    Austin, Texas, United States
    Posts
    177
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could code on anything, but as most *nix vendors incorporate PHP into their default server stack right from the start and so many applications support it getting around using PHP is usually very difficult.

  8. #8
    SitePoint Zealot Ethan-27's Avatar
    Join Date
    Jan 2011
    Posts
    152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I guess youre all right but at the moment if I read or hear about another bloody variable Im gonna test my flying skills

    Thanks guys

  9. #9
    Who turned the lights out !! Mandes's Avatar
    Join Date
    May 2005
    Location
    S.W. France
    Posts
    2,496
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Ethan

    Were here to point you in the right direction, post some code and what problems your finding, there may be a better way to go about it
    A Little Knowledge Is A Very Dangerous Thing.......
    That Makes Me A Lethal Weapon !!!!!!!!

    Contract PHP Programming

  10. #10
    SitePoint Zealot Ethan-27's Avatar
    Join Date
    Jan 2011
    Posts
    152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Mandes

  11. #11
    SitePoint Zealot Amit Yaron's Avatar
    Join Date
    Jan 2011
    Location
    Hod Haharon, Israel
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PHP is very popular in Content Management System. Its great advantage is that PHP-based CMS's are open-source, which makes building a site with a CMS easier.


Bookmarks

Posting Permissions

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