#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2004
    Posts
    40
    Rep Power
    10

    Question Python in client-server web sites


    Hi,
    I am thinking of to build a client-server web site. I been in written Python code for few months. Besides, I also have some experience with MySQL. With the experience I have in Python and MySQL, I'm thinking to build the client-server web site with Python + MySQL + PHP. Besides, I also found that Python can works in ASP. So, I now is confuse to choose which combination of tools to build the web site. Do you guys have any suggestions? Or there is another better tool that I didnt hear before?

    Thanks for advice.
    Regards,
    ah new
  2. #2
  3. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    Hey new, what exactly are you trying to do? If you have an example of the kind of thing you want to do it might help us understand your question better.
    programming language development: www.netytan.com Hula

  4. #3
  5. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    13
    Ah new

    All web-sites are basically client/ server. Apache is a HTTP server, Firefox is a HTTP client. What sort of client server do you have in mind?

    grimey
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2004
    Posts
    40
    Rep Power
    10
    I am thinking of building a simple client-server web site for my school project. I just want to choose a suitable combination of development kits with the background I have..
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Location
    Albuquerque, New Mexico
    Posts
    137
    Rep Power
    11
    I usually use Python, CGI, and SQLite for those kinda projects. CGI works out real well for me, but, its not for everyone. Try a few of the methods (CGI, etc) and see which one you feel more comfortable with.
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Location
    Albuquerque, New Mexico
    Posts
    137
    Rep Power
    11
    Well, now that I think of it....you can do alot more with CGI then just websites....I have even made images with CGI (using Python, CGI, and PIL)....CGI is probably the way to go.
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2004
    Posts
    461
    Rep Power
    25
    remeber that cgi can be a bit of a security hole and can also result in slower preformance. YOu may want to go with as much php as possible and/or use python with like modpython for apache.
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Location
    Albuquerque, New Mexico
    Posts
    137
    Rep Power
    11
    How is it a security hole? /me never heard of anything like that...cgi has always been fast for me, no problems at all
  16. #9
  17. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Location
    Albuquerque, New Mexico
    Posts
    137
    Rep Power
    11
    In My Opinion, running php on your server is just like giving the root password out to the world....but, thats just my opinion
  18. #10
  19. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2004
    Posts
    40
    Rep Power
    10
    (PHP + MySQL + Python) VS (ASP + MySQL + Python)
    which 1 is better ?
  20. #11
  21. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Location
    Albuquerque, New Mexico
    Posts
    137
    Rep Power
    11
    well, if you gotta use another language (such as php or asp), i would recommend php, but, if you can, stick to one language.

IMN logo majestic logo threadwatch logo seochat tools logo