Rails upload a file and render it as an HTML page -


i building website ror 3. need provide page clients wherein edit pricing info regarding application. quite confused on how this. pricing page needs displayed html table different columns has got pricing info.

i thinking of different ways this.

1) allow client create , upload html page , save file in public directory , render when client clicks on pricing link.

2) clients may not have bare technical knowledge, hence make client upload other formats word, excel etc , parse , store html file in public directory.

3) provide client real time editing tools in client edit in fixed format, , after wards save file , render later.

also, wouldn't store these infos in database. there quite few number of clients , hence managing these data in database become cumbersome. storing these plain html files , rendering later ideal thing me.

there might other better steps in doing well. please suggest might better, or other option suit needs? want clients have mechanism provide there pricing details, edit later , display html table, without using database backend. suggestions appreciated.

good way excel(csv format).

you can php excel. thing best solutions requirement.

try this. http://php.net/manual/en/function.fgetcsv.php


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -