[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

For 2017 I want to learn Python and Django web framework. Is

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 39
Thread images: 2

File: python-django.jpg (22KB, 638x479px) Image search: [Google]
python-django.jpg
22KB, 638x479px
For 2017 I want to learn Python and Django web framework.

Is this a feasible goal? Can I do it in a year?
>>
>>58265225
You could probably do it in a week.

So, yes.
>>
>>58265229
Why is it so easy?
>>
>>58265249
There's immense documentation for it everywhere.

Python isn't a difficult language itself and Django is also very well documented with lots of examples everywhere.

https://www.youtube.com/watch?v=N4mEzFDjqtA

https://www.youtube.com/watch?v=Ky59C5geOtg&list=PLGLfVvz_LVvSMqZiTTsAC7C8Ypp81Jt6D
>>
>>58265274
It's easy as heck but I'm more interested in making REAL things.

The step up to making programs or webapps that people will actually use and appreciate seems to be difficult.
>>
>>58265274
Like how do i go from learning the basics to actually creating something of value to people?
>>
>>58265387
First you have to know what you want to make.
>>
>>58265339
just copy something that is already successful
>>
>>58265478
All the good projects are either done by more talented developers or are extremely difficult works that require multiple PhD's to collaborate to get it done
>>
>>58266319

Learning Python and Django doesn't take very long. Most web apps are nothing fancy. You could learn all of the skills necessary to build something like a 4chan clone in a couple of weeks.

If you want to learn about the crazy shit they're doing at some of these software companies that requires PhD-level scientists to complete, then learning a webdev framework isn't going to get you there. You need to study theoretical CS and software engineering in general, and by the time you get to that point you'll be able to switch languages and frameworks on the fly. You aren't going to magically pick up that stuff by learning Python and Django.
>>
>>58265225

Do you have a programming background ? If you do, this will take you about two months. Realistically.

If not, maybe six months. Depending if you have the paciente to go through the learning curve.
>>
https://learnpythonthehardway.org/book/

Start with this.

Also I would learn Flask, maybe start with Bottle first. Django is legacy.
>>
>>58266778
I hate that dumb nigger. I went through his C """book"""" it fucking sucked
>>
>>58266755
No no I didn't I mean I WANTED or NEEDED to, just that prstty much every idea has been done.

Does the world really need another random Django developer? And besides, would I get a job?
>>
>>58265249
Because Python was written with the intention of being read by humans as well as executed by a machine. Easily understandable code, crazy idea huh?

>>58267226
>Does the world really need another random Django developer? And besides, would I get a job?

No one can say really, it depends on your local job market etc. All I know is if you're gonna program as a profession, you better love it or it's gonna slowly kill your soul.

Most programmers would learn something like Django for fun, because they find programming and create things fun. Honestly you don't sound like someone who would enjoy programming as a profession.
>>
>>58265225
django+python is a top-tier way of getting stuck in "i'm not getting better because I'm copypastaing everything" land.
>>
>>58266778
This poster, Zed Shawl are trolls - that book/website itself is legacy because it recommends a *really* old version of Python to brand new programmers with zero code base.
>>
>>58267226
You're basically asking if webdev will continue to be an employable field to go into, to which the answer is probably yes: according to the Bureau of Labor Statistics, the field is projected to grow "much faster than average" over the next 7 years. Make of that what you will.

Most webdev isn't "cutting-edge" stuff that you would consider to be a good, novel idea. Much of it is just your local car dealership who needs yet another code monkey to help maintain their PHP backend, or something. The demand for that kind of work isn't going to fade anytime soon.
>>
>>58265249
Well almost every other frameworks out there are that easy, too.

Except some enterprise shit.
>>
>>58265229

Never.


>>58265225

If you start from the scratch, I'd say two month until you have a good level in Python and for Django it depends on your previous web knowledge. If you know a MVC framework like Rails, you can understand Django in a few days. If you haven' developed a single website in your life, add (at least) two moth for the simple basics of webdesign..

Assuming you start from zero, in the beginning there's a lot of stuff coming at you. What's JSON, AJAX, what are routes, models, what is cross site scripting, traversing attacks, SQL injections, client-server architecture, HTTP responses. How to deploy a website is a topic of it's own..

Also you need some HTML, CSS and JavaScript. The basics are simple, but to get decent is surprisingly hard in each of those. You can do crazy stuff with CSS3 and HTML5 alone And JS ecosystem alone is something to learn in a lifetime.

The good news: MVC-frameworks keep a lot of trouble away, so the learning curve is somehow easier. But eventually you want to understand what's going on under the hood.

Also each time you build something, you learn something new. A simple (static) "Hello world" site is up in no time, but try to build a message board, file uploading, dashboard.. there's a lot of details here. To say "I know Django" implies (for me) that you know the tooling, some of the most common libraries and can put down a simple Django app with custom configuration without breaking sweat.


So here's a game plan:
-take at least a few weeks month for python until you feel fluent. If you are able to write down a "/g/ programming challenge" in python without having to google anything, you are ready.

-make a simple Django tutorial (a hello-world site). Then try to understand the parts. Google a lot, look up in wikipedia whenever you encouter something you don't know.

-take a step back and take a few weeks for a solid grasp of HTML, CSS and maybe even JavaScript.

-Go back to Django and wirte some advanced sites.
>>
Django fucking sucks.

Go with Flask instead.
>>
>>58269565
>>58267311
>>58267521

Thanks boys ill do it!!!
>>
>>58265249
because it isn't C++, lmfao.

Python is so god damn beautiful, it keeps things readable. "We ship features, not lines of code"-some dbag I watched a youtube lecture of
>>
>>58265225
Yes, you can do it in a year

>>58265229
I don't believe this, not unless you are a genious. I was already a professional python developer before I started trying to learn django. And that still took me a long time,
>>
>>58266778
Learn python the hard way is ok, but it uses a depreciated version of Python. It would be like learning windows 95 for someone who is trying to learn modern windows.

>>58267226
Seems to be enough Django jobs for everyone
>>
>>58267339
>>58270015
Is it better to learn python3 right off the bat then?

What makes it better?
>>
>>58269956
Python fucking sucks, horrible language that learns bad habits
>>
>>58266778
The author is an idiot, recommending this book is actively harming Python3 adoption
>>
>>58270043
>What makes it better?

It is the version that is being developed. You might still meet something that has python 2.7 if you are doing it for work. But it is rarer and rarer, everything is getting a Python 3 overhaul and most of it have it already.

Python 2 is depreciated and should be viewed like COBOL. Something you might find on old systems, but nobody should make new code with it. It is a language to fix old code.
>>
>>58270080
Ok what resources should I use to learn it
>>
>>58270134
this one is good recourse to learn basics.

https://automatetheboringstuff.com/

it will explain everything and give you tasks to master them.

t.other
>>
>>58270165
Ok thank you
>>
>>58265225
It's a feasible goal for this week.
>>
>>58270134
You can just learn Python 2, the differences between Python 3 and Python 2 is still small. I would recommend this

https://udacity.com/course/intro-to-computer-science--cs101

If you really want Python 3 then try this first:

https://www.coursera.org/learn/learn-to-program?siteID=SAyYsTvLiGQ-CAPQKQifMB9X_snAYb0qLA&utm_content=10&utm_medium=partners&utm_source=linkshare&utm_campaign=SAyYsTvLiGQ

then this:

https://www.coursera.org/learn/program-code?siteID=SAyYsTvLiGQ-sTSIAKz6CUC9d3HzBeo_pg&utm_content=10&utm_medium=partners&utm_source=linkshare&utm_campaign=SAyYsTvLiGQ
>>
File: 1460046999042.jpg (187KB, 1024x1344px) Image search: [Google]
1460046999042.jpg
187KB, 1024x1344px
My advice on this?
Stick to Python 3. >>58270080 is right, there's no point in sticking to 2 because everything that is significant is available for Python 3.

Learning python itself is simple and probably will take you a week or 2. Django requires a bit of additional setup because it has CLI tools that do shit for you, but in trade you'll have to learn the tools and how a basic django project is put together. You'll also have to deal with setting up CGI on a webserver, although that isn't difficult.

One other valuable tip I want to give is to understand the value of using virtual environments. These help you create isolated environments for projects, so you can have different projects using different versions of python and relevant libraries (like django). Read this for more info on that: http://docs.python-guide.org/en/latest/dev/virtualenvs/
>>
>>58270219
>One other valuable tip I want to give is to understand the value of using virtual environments. These help you create isolated environments for projects, so you can have different projects using different versions of python and relevant libraries (like django). Read this for more info on that: http://docs.python-guide.org/en/latest/dev/virtualenvs/

This... I used python for a long time without it, but should just have started with this somewhere in the beginning. Don't overlook this advice.
>>
>>58265225
Keep in mind, I have a background in ECE, but with my core competency being in electronics hardware design and the programming I would do is in C for embedded systems.

I went from 0 knowledge of Flask in September, to having a fully functioning Twitch Tip Tracker using Bitcoin with API hooks into Streamlabs by mid-November.

If I can do it, you can.
>>
>>58270264
How'd ya learn it?
>>
>>58270165
This is good starting point.
Thread posts: 39
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.