Previous Lesson: Lesson 27: Exception Handling in Python
Now that you’ve finished Learn Python, what will we be expecting from this new section? Let me give you an introduction to our word counter Django website.
Congratulations and Welcome to another section in our programming! In this course, we’re gonna develop two different websites! The first one will be a Word Counter. And our second website will be our own Portfolio website.
By the way, you may be wondering: “Why the heck is the first lesson in Learn Django a Lesson 3?” That’s because these are the first two lessons:
How does this Word Counter Django Website work?
- In this website, there is a box where the use can put in a piece of text and there is a COUNT button.
- A user puts in some text on this website. It may be anything that he/she has already read anywhere, or he/she has composed him/herself.
- After hitting the COUNT button, our website takes the user to another page where we can show his/her entered text. And we also show the word count of the text.
- And finally, this is special, our website is also going to count the number of occurrence of a word from the text.
- In that same page, there is a button that takes the user back to the homepage, or the page where he/she can enter a new set of text. So that if our user wants to enter a new text and have its word count, he/she could just simply click on that button. And finished.
What is Django anyway?
According to djangoproject.com, Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source.
In this section, you’ll become familiar with the fundamentals of Django. Also, you’ll learn how and where to install Django in your computer. And finally, we’ll get into building our own website using Django.
And that’s our introduction to our first Django website! As I have said earlier, if you’re not familiar with Python yet, go back to Learn Python and start on Lesson 3. You can also go back to that course if you want to have a refresher for that programming language.
But, if you’re already finished with learning Python, then let’s start learning Django, shall we?