3 ms·
My goal is to learn enough tech to build an end to end web based application. Planning to learn python, then html/css, MySQL and move onto learning deployment
by vcool07 10y ago
My goal is to learn enough tech to build an end to end web based application. Planning to learn python, then html/css, MySQL and move onto learning deployment with AWS.... let's see how it goes !
- giancarlostoro 10y agoThere's many options for Python but check out CherryPy. If you can write a class, and a few methods that return text (or HTML) you can write a full blown website with CherryPy. It maps methods to URLs. http://cherrypy.org/ http://cherrypy.org/ Just look at HelloWorld. As for templating, I personally use Mako: http://www.makotemplates.org/ http://www.makotemplates.org/ Mako is used by Reddit. A few months back I was hired to code a back-end API and I chose Python and CherryPy for the stack, never done as much web dev as I have since. Got a fully working app. Can't recommend much for MySQL, except either SQLAlchemy or PonyORM. You can make a simple website / web service in CherryPy, and yes RESTful services can be made as well. I say start with basics. Even if you don't use CherryPy in the end, you can start testing it right away with the hello world example. Just don't forget to pip install cherrypy
- vcool07 10y agoThank you, will check them out !
- wallflower 10y agoIf you do this, I recommend the thin slice all the way through to deployment. Get Hello World running locally and then deploy it. Get Hello World with some CSS styling running locally and then deploy it. Get Hello World with database augmentation running locally and then deploy it. What you will probably learn is that the way you deploy it is as much a part of the building process as the building itself...
- jkchu 10y agoWith platforms like Heroku and Amazon's Elastic Beanstalk, I feel that deploying side projects is actually quite simple. Of course there will likely be some troubleshooting the first few times, but once you get your app running, deploying becomes trivial.
- afarrell 10y agoFor python, this is the book that I learned from: http://openbookproject.net/thinkcs/python/english3e/ http://openbookproject.net/thinkcs/python/english3e/ and this is a good book that teaches web development: http://chimera.labs.oreilly.com/books/1234000000754/index.html http://chimera.labs.oreilly.com/books/1234000000754/index.ht... Both are free. For learning deployment, first download vagrant and try deploying on a vagrant box. Then, get a digital ocean account (here's some free server time: https://m.do.co/c/6dade5c581b8 https://m.do.co/c/6dade5c581b8) and deploy on that. This guide is a good walkthrough: https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-16-04 https://www.digitalocean.com/community/tutorials/how-to-set-...