Difference between revisions of "6CS028 Workshop - Web Frameworks"

From mi-linux
Jump to navigationJump to search
Line 30: Line 30:
 
</pre>
 
</pre>
  
'''IMPORTANT''': Replace "0123456" with your student number and "cake" by the folder in which you have uploaded the framework.
+
IMPORTANT: Replace "0123456" with your student number and "cake" by the folder in which you have uploaded the framework.
  
 
===Cache folder===
 
===Cache folder===

Revision as of 15:41, 7 February 2013

Main Page >> Advanced Web Technologies >> Workbook >> Week 02

Consider using a PHP framework for your assessment. Here are some popular ones:

CodeIgniter

Yii

CakePHP

mod_rewrite

Note that because of the way mod_rewrite is set up on the server you need to add a RewriteBase line in the existing .htaccess file, as follow:

<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteBase /~0123456/cake
   RewriteRule    ^$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>

IMPORTANT: Replace "0123456" with your student number and "cake" by the folder in which you have uploaded the framework.

Cache folder

Also if you are getting the following error message: Warning: _cake_core_ cache was unable to write 'cake_dev_en-gb' to File cache in /studhome/staff/acad/in9352/public_html/cake/lib/Cake/Cache/Cache.php on line 309

You need to make the "app/tmp" folder (and all its sub-folders) writable by all in order to solve this.

Symfony

Akelos

Zend Framework

IMPORTANT: So far I have not managed to successfully install Zend on mi-linux :(