Introduction

We apply the Model View Control (MVC) design-pattern.

Strict XHTML code is generated for SEO compliancy. Then Javascript (with jQuery) will be used to provide animations and AJAX features.

DNS setup

We need a wildcard for each server IP and also a static DNS to identify each site: the servers will have to communicate to share data.

*.mx.1000mois.com IN A XXX.XXX.XXX.XXX
*.mx.1000mois.com IN A YYY.YYY.YYY.YYY

server1.1000mois.com IN A XXX.XXX.XXX.XXX
server2.mx.1000mois.com IN A YYY.YYY.YYY.YYY

Files Tree

./index.php
./bali-conf.php

./data/

./src/
./src/index.php
./src/bali.php

Apache Rewrite Rule and .htaccess file

To provide maximum control, BALI will use the RewriteRule Module of Apache.

To allow easy integration with existing websites and other applications, we will only redirect to BALI the non-existing URL.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /index.php [L]
</IfModule>

Note: That means BALI will have to handle efficiently to non-existing URI (error 404 and so on…)

Next Steps

 
bali/architecture.txt · Dernière modification: 2009/02/16 16:05 (modification externe) microWebAgency.com
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki