Tell me more ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I want to create my own website that would allow me to acess a database in the server and do inserts and lookups in a user friendly way. I am a seasoned user of linux and C/C++, and also have experience with Python and sqlite3, but i don't have any experience in Web development, so i have no idea where to start.

I have researched online and the best i came up with was an Apache/Nginx server together with an fcig or wscgi and Django, so that i would have database and python integration through a Django App.

Can someone tell me if this is the way to go or if there is some easier (or better) way to accomplish what i want?

share|improve this question
If you're not doing anything asynchronous (e.g. with Twisted, Tornado or GEvent), then the stack is usually either Django or Flask, with either Apache+mod_wsgi or nginx+uwsgi. – user16764 Jul 5 at 20:11

3 Answers

up vote 2 down vote accepted

Since you know Python already I see no reason not to go for Django. It should be fairly easy to set up and try out a quick project to see if you like it. Like with everything there's a learning curve, but from what I've seen the tutorials and documentation to get you up and running is rather good.

share|improve this answer

Download the WAMP server 2 for Windows. It'll give you Apache(server), PHP(server side language), and MySQL(data management). Then learn how to get each program to interact. These three together are the most commonly used and they interact well with each other.

share|improve this answer
2  
Why would he want that when he's already on Linux? – harald 2 days ago
2  
And why would he want that to build a Python stack? – user16764 2 days ago

PHP would be easier. Its also C-like. But it takes less of a learning curve to move into webdevelopment with because its basically designed primarily for webdevelopment. Plus they have good documentation at PHP.NET

See Is there anyone who has used Python/Ruby and PHP for a long time and still prefer PHP?

share|improve this answer
4  
Really, this is advice you give to someone with Python experience? How much experience do you have with Python web development yourself? – Martijn Pieters Jul 5 at 19:59
3  
The answer you cited is three years old, and its only specific point against Python is not currently true. In fact, it probably never was. – user16764 Jul 5 at 20:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.