Welcome to Spiked
Spiked is a Python web development framework built on a top of Twisted and Cheetah.
Writing applications in Spiked is centered around creating fragments, dynamic portions of your application which in code look like python classes with corresponding Cheetah templates, which are later grouped together into areas and pages. Collection of pages form Spiked application. Having this in mind we could say that Spiked is front-end oriented framework. Spiked also provides facilities for plugging in custom data back-ends.
Instalation
Requirements:
- Twisted you need at least version 8.2.0
- Cheetah
- PyYAML
- simplejson
All you need to do is get Spiked skeleton project. Get it here. After downloading you will want to extract it:
tar zxvf spiked-<version>.tar.gz mv spiked myproject
Alternatively you might want to check out latest SVN:
svn co http://spiked.svn.sourceforge.net/svnroot/spiked/trunk myproject
To clean up the 'myproject' directory from unwanted '.svn' entries run:
cd myproject find . -name .svn | xargs rm -rf
Running Spiked
Running Spiked consists of running two different servers. One is session server and the other is web server. Assuming you are in your 'myproject' directory run fallowing commands:
./ssctl start ./webctl fg
After this you should have session server started and web server started in foreground mode. Point your browser to http://localhost:8000 where Spiked default application is running.
Where to now?
- Try out simple Hello world example!
- About app.yaml
- About pagetypes
- About fragments
- About views
- About skins
Questions and suggestions
milos(dot)negovanovic(at)googlemail(dot)com