Is Django a good web framework? I need web and mobile (iOS/Android)...

James Reyes
James Reyes

Is Django a good web framework? I need web and mobile (iOS/Android) accessibility, user accounts, as well as the ability to do something physical like turn on an LED. In exchange for Sup Forums's wisdom, I will post cuties from tumblr

Attached: tblr1.jpg (226 KB, 767x1280)

Grayson Torres
Grayson Torres

Django is good if you are trying to solve a generic problem where Django's batteries attached philosophy helps you.

If you are doing specialised or unique I would go with Flask.

Gabriel Anderson
Gabriel Anderson

What would you define as specialized or unique? The main things I need are basically user account management and the ability to do something physical like turn on an LED. It seems that both Django and Flask have user account management and I suppose that because it's in Python, a simple TCP/IP socket/server would handle the turning on LED part.

Attached: tblr2.jpg (163 KB, 640x1136)

Connor Howard
Connor Howard

Something that will require you to modify significantly whatever you get from django-admin.

Charles Stewart
Charles Stewart

I'm doing something similar. I was thinking about it too. I'll probably go with flask + react for flexibility, what do you guys think?

Tyler Torres
Tyler Torres

Could you name an example

Is react as fast as native iOS/Android?

Joseph Rodriguez
Joseph Rodriguez

I have no idea I'm new to this too.

Colton Morris
Colton Morris

Pgadmin4

Cooper Bennett
Cooper Bennett

I think Django will be overkill from what it sounds like. Django's pretty powerful, but it takes a while to learn all of its features properly.

You should use Flask and learn HTML + CSS properly. You'll get a nice responsive, lightweight interface and learn fundamentals at the same time.

Julian Turner
Julian Turner

Unfortunately I've worked in teams where they used Django and never bothered to read the manual. A total unscalable mess followed and they blame it on Django. lol

Aiden James
Aiden James

Django is very opinionated.

Use Flask, it's really simple.

Serve up a SPA in react, vue, angular (vue is my favorite, easy to use, not retarded as react and not as opinionated as angular) that calls a flask REST api

Andrew Garcia
Andrew Garcia

You two seem knowledgeable.
Let's say I want to create some sort of user account system. You can register/login on both Web/Mobile Application, but most of the functionality will reside on the Mobile Application. What do I need to know regarding security in terms of storing passwords and whatnot on mobile application? Is there a "best practices" guideline anywhere?

John Martin
John Martin

Handling passwords is something you never want to do yourself. There are Flask libraries written by experts specifically for managing accounts.

Austin Rogers
Austin Rogers

Ah OK. I know how to code and stuff but I've never touched any sort of web development/web framework. Is there a quick start guide for best practices and whatnot for web development?

Tyler Turner
Tyler Turner

So I'm okay with web frameworks, but I 100% can't into web design.

What should I do?

Nolan Brooks
Nolan Brooks

There are many. I can't recommend any specific one. If I were in your position I would:
- learn the bare HTML essentials (and CSS if you want it to look pretty) and write a simple hello world page
- do a simple Flask example that serves up the page you just made and can print messages to console when you browse to certain urls. Understand how doing a POST/GET is how you send information back to the Flask server
- look up a popular Flask accounts framework like Flask-Login or Flask-User and do the quickstart tutorial. Figure out how to require a user to login before they can view the hello world page

At that point your app is done and you just have to toss in some code to blink your LED or whatever. You might throw in CSS to make things look pretty

Jordan Butler
Jordan Butler

Attached: 1481233815268.gif (1.07 MB, 480x270)

Kevin Martin
Kevin Martin

Thanks for this info, I'm not him but this is great.

Tyler Price
Tyler Price

Djangi dev here.
Why would you use it for something so trivial, I have no idea.
Kotlin/xamarin with a simple backend for API like Sinatra would suffice.

Lincoln Edwards
Lincoln Edwards

WHO DIS

Lincoln Reyes
Lincoln Reyes

rails because python is garbo

Disable AdBlock to view this page

Disable AdBlock to view this page

Confirm your age

This website may contain content of an adult nature. If you are under the age of 18, if such content offends you or if it is illegal to view such content in your community, please EXIT.

Enter Exit

About Privacy

We use cookies to personalize content and ads, to provide social media features and to analyze our traffic. We also share information about your use of our site with our advertising and analytics partners.

Accept Exit