On Oct 4, 11:09 am, Emperor of thought <[EMAIL PROTECTED]>
wrote:
> Please i am just new to python and i will like to know how i can go
> about in web development. I am migrating from PHP and phyton web
> environment does not look very familiar.

Python has a number of frameworks and libraries for web development.
Django is but one of your choices. I think it's a good choice.

Note that Django is a framework. So, that means instead of writing a
file for each web page, you'll be writing:

* a file for your models (classes),
* a file for your views (functions),
* a file mapping urls to view functions (a list), and
* some files for your templates (html with some extra bits thrown in).
The template files look like php files, but with {% ... %} blocks in
them instead of <?php ... ?> blocks.

Then the framework takes care of having the right view get called
(which then grabs one of the templates) and returns the page to the
user that requested it.

> I tried downloading Django and installing it on my windows looks very
> difficult. Plsease can anyone help me on how to install Django and how
> to go about starting web development in Phyton?

I'm not sure of the details for doing it on MS Windows. GNU/Linux is a
good environment for development of all sorts. I recommend upgrading
to Ubuntu.

---John


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to