Python Forum
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
which one is better?
#1
This is a basic question for a newb. I will be working on a static web site and was wondering which is better for that and or easier. Flask or django? I have used django some already but have not published one yet so am not sure of what else needs to be done for that. Would like 3 apps/pages but past that nothing extra yet all just informational stuff. thanks ahead of time.
Brian
Reply
#2
Go with Flask.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#3
I will also add please explain why you think one or the other is better please. Since I don't a lot about either it will help me make a decision. Thanks
Reply
#4
It's not because it is better. For a project with a few pages, there is no point to run a full stack web framework.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#5
So I guess I need to start learning flask. How different is it from Django?
Reply
#6
This is a good overview video.
Can look at a tutorial here.
Reply
#7
that video was a great answer to my question. Thank you very much!
Reply
#8
(Oct-27-2018, 12:46 PM)prophoss Wrote: I will be working on a static web site
Slow down. If it's a static site, don't use either. You don't need any server side processing for a static site. Just write html, as html files, and any http server (apache, lighttpd, nginx) will work flawlessly.
Reply
#9
I haven't ever gotten so far as putting a web page live yet so suggesting that I can just use an http server and my HTML files sounds good but could you explain a bit further please. I've got the basic html and css files together already. Now what do I do to actually publish the web site? Or could you give me a link perhaps. I've been looking up building static web sites and they are talking about other markdown languages and other programs like Gatsby or Hugo. I surely don't mind learning, but things are starting to splinter off into many directions. Thanks again.
Reply
#10
Any shared web host would be fine. I like webfaction, but there are many to choose from.

As for getting your site to the server, either ftp or a web uploader, depending on the host.

But looking for a host is putting the cart before the horse. Get your site done first, so you know what you need the host to be able to do.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020