Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

The backend

Name: Anonymous 2012-11-20 3:37

So I have a lot of time on my hand and want to create a web application with a mobile app. Im completely fine on the mobile app side with experience in Java and Android. Feed me some JSON and I can make the app do what I want. I also understand HTML, CSS, and know my way around Photoshop just fine. I have some knowledge of mySQL and JS but Im picking them up just fine.

However I'm completely lost on the server part and I'm not even sure where to get started. I would like to use Python for the backend and JSON for the API but other than that I really don't know what I should do. I only have extremely limited experience using JSP in one course that was just meant to be a very shallow overview of the process. Everything on the server was already setup for us and we were basically just writing Java to display what we wanted. Any tips would be great. Recommendations on what version of Linux to install, simple tutorials and information on the server side. Anything would be great.

Name: Anonymous 2012-11-20 4:03

Google ``CGI programming'' for a bit of background info.
Any OS is fine.
web.py is probably near enough something you might like, once you get how stuff works, I dunno. Probably.

Name: Anonymous 2012-11-20 4:53

There are two parts to web development with Python: writing applications, and deploying them. They're fairly separate concerns, and you'll need to understand both.

For writing them, do what everyone else does: first read PEP 333, then write a hello world directly against the WSGI standard, then give up and just use Bottle (or Django, depending on how much of a tool you are).
Just use uWSGI to deploy them either directly or through whatever web server you're using. Read their tutorials until you understand what's going on. Flup considered harmful.

>>2
Don't give people advice if you don't have a clue.

Name: Anonymous 2012-11-20 7:09

>>3
Whats wrong with Django?

Name: Anonymous 2012-11-20 7:16

>>4
It's enterprise-ready.

Name: Anonymous 2012-11-20 7:28

>>3
Don't HAX MY ANUS if you don't want to.

Name: Anonymous 2012-11-20 7:35

>>5
Oh so its useful in the real world

Name: Anonymous 2012-11-20 8:58

>>1
You have 2 choices
1. The easy way (AKA the deadline oriented approach)
decide the language you want to work with. Search for a web framework or a supported stack on dotcloud or heroku. Follow the instructions on the the respective website to deploy a stack. google to get stuff done in your framework and you are done.
2. The hard way-(AKA the knowledge oriented approach)
do what >>3 says.Read books to understand stuff. .

Name: 2 2012-11-20 10:30

>>3
What's wrong with CGI?

Name: Anonymous 2012-11-20 11:00

>>9
Not having to run an entire web server locally is a pretty big advantage for quick testing, especially when you're still finding your bearings.

Name: Anonymous 2012-11-20 12:51

Name: Anonymous 2012-11-20 12:54

>>10
Oh god! Not an entire web server!

Name: Anonymous 2012-11-20 15:01

>>10
By ``web server'' I assume you mean ``Apache setup'' since there are many web servers (Mongrel, Thin, SimpleHTTPServer) that can be set up using five-line scripts in ~/bin and invoked at a moment's notice without worrying about logs or configuration. But even if you do need Apache for CGI, there is a proliferation of halfway usable VM provisioning software for exactly this purpose. For example, you hardly need to know the first thing about Apache to set up a Vagrant instance with your project directory as a shared mount point. You can edit, refresh, and see your changes immediately, and never need to touch FTP or SSH until it's time to deploy.

Name: Anonymous 2012-11-20 18:29

>>13
Yeah, and that's certainly a lot easier than just running your fucking script directly; especially if you don't know anything about deployment, like >>1.
You're a dipshit.

Name: Anonymous 2012-11-20 22:35

>>14

No >>14-san. You are the dipshit.

Name: Anonymous 2012-11-21 1:03

>>15
Fuck you.

Name: Anonymous 2012-11-21 1:44

>>14-16
Gentlemen! Please! All this harsh language is uncalled for. Remember the words of Ayn Rand: There are no conflicts of interest between rational touhous. Are there irrational touhous among us? I DOUBT IT!

I agree that simply recommending ``vagrant'' and ``CGI'' to >>1-san would be ``too hasty'' being as it ignores his lack of experience. I was merely suggesting to >>10-san that the advantage he boasted was not as clear-cut as he interpreted it to be! For >>1-san I would back >>2-san's solution of starting with web.py.

Name: Anonymous 2012-11-21 5:38

>>17
we're integers idiot

Name: Anonymous 2012-11-21 9:15

>>17
But I'm an irrational human who likes Touhous! I wouldn't like to jerk off to myself, you know.

Name: Anonymous 2012-11-21 10:33

>>17
Should have used JSP instead.

Name: Anonymous 2012-11-22 1:46

>>17
Don't act like you know what you're talking about you unemployable leech. Go back to /ronpaul./

Name: Anonymous 2012-11-22 5:51

>>13
vaginx is superior.

Name: Anonymous 2012-11-22 6:39

PROGRAM MY BACKEND

Don't change these.
Name: Email:
Entire Thread Thread List