Study case

ARCHI independant BACKEND

Benefits and features

This is an architecture dedicated for people who want make or collaborate for the design of their site.  No coding, html and css to write directly or with editing tools.   Also dedicated for people who want a small data base (contacts, booking, events, ...).  The routing is not under control of the backend.

For the Boss admin

+ He have all the html pages + css + js available to edit directly on i.e. AWS S3
+ Use of the editor tools he want
+/- NO .erb code possibilities

For the developer

+ He keep the control of DB
+ He keep the control of process RoR
+ He keep the managment of forms
+ NO control of routes / pages
+ He keep the control of partial ajax rendering

Global

+ low cost
+ This is one of the architecture most often use !
+ easy to begin

DB - Models

- Under control of the developer

Routes

NO control by the backend.  With file system, the .htm or html appears in navigation browser

Any other?

= For site with 1 to 15 pages
- Redonduncy of pages with internationalization
+ Any other files system may be used
+ NO security to have security (except api)

Step by step for the boss

1

Buy the domain name

https://www.onlydomains.com/
Set de dns parameters to point to heroku server
make a redirection of www. to domains

2

Open a account on amazon AWS

https://aws.amazon.com/fr/s3/
Create a bullet or share the bullet of the developper

3

Transfert your assets on AWS S3 bullet

images files
video files
some styles
your own existing html pages

4

Design or complete your site

transfert the bullet on your local computer
design everithing you want
transfert the updated files on AWS S3