Hi Alan,

*Learning Django*
There are three resources I recommend for learning django:
- The official tutorial
<https://docs.djangoproject.com/en/1.9/intro/tutorial01/>, which walks you
through many of the major features of the framework.
- Test-Driven Development with Python
<http://www.obeythetestinggoat.com/pages/book.html> by Harry Percival
- Django Unleashed
<https://www.amazon.com/Django-Unleashed-Andrew-Pinkham/dp/0321985079> by
Andrew Pinkham

*Databases*
When you are first learning, you should stick with the SQLite database that
comes pre-configured out of the box.

Once you start looking at production databases, you should be aware that
Django's model layer is designed to work with a traditional relational
database like Oracle
<http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/oow10/python_django/python_django.htm>
, MySQL
<https://www.digitalocean.com/community/tutorials/how-to-use-mysql-or-mariadb-with-your-django-application-on-ubuntu-14-04>
, MS SQL Server
<https://azure.microsoft.com/en-us/documentation/articles/web-sites-python-ptvs-django-sql/>,
or as most people recommend, PostgreSQL
<https://www.digitalocean.com/community/tutorials/how-to-use-postgresql-with-your-django-application-on-ubuntu-14-04>.
Can you use a NoSQL database like mongodb, couchdb, or cassandra? Sure. I
can't give any recommendations on using them with django but there are
python <https://django-mongodb-engine.readthedocs.org/en/latest/> modules
<http://couchdbkit.org/docs/django-extension.html> available
<https://pypi.python.org/pypi/django-cassandra-engine>.

But the common wisdom is that for using django in production, the best
default choice is PostgreSQL.

*Hosting*

I unequivocally recommend DigitalOcean
<https://www.digitalocean.com/?refcode=6dade5c581b8>. They will give you
full ssh access to a whole server for $5/month (prorated) and they have
clear easy-to-follow documentation on variety of topics including setting
up django in production
<https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-django-with-postgres-nginx-and-gunicorn>.
The experience of signing up and starting a server couldn't be simpler. If
you value your time above $2/hour, it far cheaper to use a VPS like
DigitalOcean than a generic shared hosting provider. Also, you get a $10
credit if you sign up using this link
<https://www.digitalocean.com/?refcode=6dade5c581b8>, so it is free for two
months.

All the best,
Andrew Farrell

PS. If you want to learn more about setting up servers, I'll shamelessly
plug this tutorial I wrote <https://amfarrell.com/saltstack-from-scratch/>.

On Tue, Feb 9, 2016 at 12:56 PM, Alan Auckland <alanaucklan...@gmail.com>
wrote:

> Hi everyone,
>                   I have been doing lots of reading about which way to go
> for web development and programming. I think I have finally decided to dive
> into Python with Django.
> I really like the idea that it is such a versatile language spreading
> across many areas.
>
> What resources do you recommend to get started with?
>
> I am learning this myself but I also have a few to start a business
> training others and offering them work experience and show others how to
> get employed and improve their chances of employment.
>
> I have been doing some research and not sure which database is right to
> use.
> I really like the idea of learning Cassandra because it is fast and the
> most reliable DB I have read about, but not sure if its the right choice or
> if Django can even interact with it.
>
> On that note as well I have never heard of a web host providing Cassandra.
>
> My students will be building simple websites for clients  like 2-3 page
> information sites.
> Personally I would like to be building more involved sites.
>
> Where web hosting is concerned I want to keep it as low as possible and
> could really use some help finding a provider.
> This gets trickery when I might have students wanting to learn other
> technologies but I guess if I have to use more than one provider than that
> is all I can do.
>      (by this I mean if a student wants to develop in ASP.net or Node.Js)
>
> I have been thiking a reseller account would be a good solution. I want to
> charge clients for hosting and offer a reduced rate for the design and
> development from students.
> My aim is to make re-occurring revenue from the hosting over a long period
> as well as support people finding there way into awesome jobs :D
>
> I am worried that the only solution would be host sites myself but this
> seems quite daunting and discussion for a whole other topic.
>
> I have never worked in a real development job. I finished a HND last year,
> done nothing this year and I am applying to top up to a full degree this
> year.
>
> Thank you for reading
>
> I look forward to hearing from you all.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/651fba50-3460-4395-924f-1a00a8abe563%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/651fba50-3460-4395-924f-1a00a8abe563%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2By5TLZsaAPfnbxP1G%2BZq7Ce6mKK8%3D%2Bu7E3buZn0uWTqBisUsQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to