which one is better? - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html) +--- Thread: which one is better? (/thread-13696.html) Pages:
1
2
|
which one is better? - prophoss - Oct-27-2018 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 RE: which one is better? - wavic - Oct-27-2018 Go with Flask. RE: which one is better? - prophoss - Oct-27-2018 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 RE: which one is better? - wavic - Oct-27-2018 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. RE: which one is better? - prophoss - Oct-27-2018 So I guess I need to start learning flask. How different is it from Django? RE: which one is better? - snippsat - Oct-27-2018 This is a good overview video. Can look at a tutorial here. RE: which one is better? - prophoss - Oct-30-2018 that video was a great answer to my question. Thank you very much! RE: which one is better? - nilamo - Oct-30-2018 (Oct-27-2018, 12:46 PM)prophoss Wrote: I will be working on a static web siteSlow 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. RE: which one is better? - prophoss - Oct-30-2018 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. RE: which one is better? - nilamo - Oct-30-2018 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. |