The Web Design Workflow
Posted 7 months ago at 10:13 pm. 0 comments
In order to create a website, there are several options and things you need to do. I have compiled an image of how I make websites, and how everyone should.
You are currently browsing the archives for the programming category.
In order to create a website, there are several options and things you need to do. I have compiled an image of how I make websites, and how everyone should.
Hello,
A lot of people want to learn how to make applications. Mac OS X provides an easy way to do so. Every single (genuine) Apple Computer comes with XCode on it’s install disks. Using XCode and the Cocoa framework makes it easy to learn and make your own application. And it is how most major Mac OS software publishers do it. I have made a video tutorial to introduce you to XCode and the things you can do with it. Although the application is somewhat simple, it is necesary to learn with simple applications and gradually move on with increasingly more difficult apps.
I have been really busy the last few days with server switching, other projects, and…. Django? Django is a Python web framework I have been learning about. I have never coded python in my life, and Django was still easy to use while learning python simultaneously. Django is particularly useful for database powered sites.
Basically it is a 3 step process to making a Django app.
- 1. Create the database structure in models.py
- 2. Select the data to be sent to the templating system for each page in views.py
- 3. Make the HTML templates and insert tags for each variable
Theres more to it than that, but thats the jist of it. It makes programing websites a lot easier and not to mention faster than php or ruby. Django for example can automatically make an administrative page for the site based on the database fields you specified in the models.py for each app.
Django is also highly plug-able. You can drop someone elses app into your own project (which is pretty much a package of apps making up a site) and integrate it in. Although Django is a little harder for the average joe to set up than say, just sticking to PHP, it is worth it. As a note, for production sites, it is recommended to keep media and python on diferent servers. This makes it hard to use Django on a shared server not only because most shared servers don’t provide it, but because it is recomended to keep the Django on an apache server running mod_python and the media (images, js, css) on a server such as nginx or lighttpd.
If you are interested in making a database driven site and are comfortable messing around with python, Django is definitely worth a shot.
I started learning c++ a while back but got deterred when I learned it takes 70 lines or so using the winapi just to make a blank window! A few days ago I learned about Qt. Its probably something everybody knows about but me. Anyways what it is, is a cross-platform application framework that makes GUIs easy. I’m just learning about it myself right now so I can’t really teach how to use it, however, Qt gives some good very documentaion here.
You can make a full c++ source file in less than 10 lines that will make a window with a button that reads “Hello world!”. I know this is a short post, but it is only because I want to get back to learning Qt myself! For all of you php lovers. Qt has php bindings which you can download here. You could even easily make a gui application using php. I haven’t tried it, but it sounds cool to experiment with!