Tutoriels || Tutorials

Facebook Twitter

Offline Web Applications. You are here: Home Dive Into HTML5 Diving In What is an offline web application? At first glance, it sounds like a contradiction in terms. Web pages are things you download and render. Downloading implies a network connection. At its simplest, an offline web application is a list of URLs — HTML, CSS, JavaScript, images, or any other kind of resource. From there, most of the work is up to you, the web developer. The Cache Manifest An offline web application revolves around a cache manifest file.

<! Your cache manifest file can be located anywhere on your web server, but it must be served with the content type text/cache-manifest. AddType text/cache-manifest .manifest Then make sure that the name of your cache manifest file ends with .manifest. Ask Professor Markup Q: My web application spans more than one page. OK, so every one of your HTML pages points to your cache manifest file, and your cache manifest file is being served with the proper Content-Type header.

Network sections. PHP: The Right Way. Ruby in Twenty Minutes. What if we want to say “Hello” a lot without getting our fingers all tired?

Ruby in Twenty Minutes

We need to define a method! Irb(main):010:0> def hirb(main):011:1> puts "Hello World! "irb(main):012:1> end=> :h The code def h starts the definition of the method. It tells Ruby that we’re defining a method, that its name is h. The Brief, Repetitive Lives of a Method Now let’s try running that method a few times: irb(main):013:0> hHello World!

Well, that was easy. What if we want to say hello to one person, and not the whole world? Irb(main):015:0> def h(name)irb(main):016:1> puts "Hello #{name}! " So it works… but let’s take a second to see what’s going on here. Holding Spots in a String What’s the #{name} bit? Top 12 Ruby on Rails Tutorials. A former student asked me a few days ago how I learned Ruby on Rails.

Top 12 Ruby on Rails Tutorials

The answer was that I simply read alot of great tutorials. So in the spirit of sharing, here are the 12 tutorials that I found most useful: Rolling with Ruby on Rails – Curtis Hibbs of ONLamp.com offers his first excellent introduction to Ruby on Rails. This is the article that got me really excited about RoR.2. Rolling with Ruby on Rails, Part 2 – The sequel to Curtis Hibbs excellent series of articles.3. Hey, Ruby on Rails Fans! UPDATE, JUNE 2009: Want more up-to-date tutorials on Ruby programming? Happy Rails developing and if you have any other tutorials that you’d like to share, please leave them in the comments! Django - BitNami documentation. - GeoDjango with PostGIS quick start guide How to create a new Django project?

Django - BitNami documentation

To start a project with Django, it is necessary to start the BitNami Console. If you are using a Virtual Appliance or AMI, you can run the commands below directly. You should create your new project inside Django projects folder located at: On Linux: installdir/apps/django/django_projects On Windows: For 2000, XP and 2003 Server: C:\Documents and Settings\user\Bitnami DjangoStack Projects For Vista, 7 and 2008 Server: C:\Users\user\Bitnami DjangoStack Projects On OS X: /Applications/djangostack-version/apps/django/django_projects Run the following command to create a new project:

Five Days To A Django Web App - The Daily Build. Installing Django On Windows. Python game programming tutorial. I wrote these lectures with Geoff Howland for a game programming website.

Python game programming tutorial.

They are an introduction to using python for game programming. LectureOne . An introduction to what you will learn from this course. The Django Book: Version 2.0 (English) Welcome to the online version of The Django Book, a free book about the Django Web framework for the Python programming language.

The Django Book: Version 2.0 (English)

A warning about this edition The community edition of The Django Book is in transition. While the book mentions Django version 1.4 in places, the vast majority of the book is for Django version 1.0, which was released over four years ago. Therefore this resource is extremely out of date and, until the book is finished being updated, we ask that, at this time, djangobook.com not be used for educational purposes. This book was originally published by Apress in 2009 and covered Django version 1.0.

So, if you’d like to help out, hop on over to GitHub and send us a pull request! Django by Example: Django Tutorials - Django by Example. W3Schools Online Web Tutorials.