Re: [Flightgear-devel] Re : Scenery web and scene models

2012-02-15 Thread Martin Spott
Pedro Morgan wrote: > Have you considered Smarty templating (am biased as am a developer) Most of the code which now makes the "Scenemodels" web site had been written more than seven (!) years before now and, as far as I can tell, functionality was the foremost obligation, not elegance ;-) That

Re: [Flightgear-devel] Re : Scenery web and scene models

2012-02-15 Thread Martin Spott
Pedro Morgan wrote: > would it be possible to "dump" the fgs_* tables and made available as a > tarball... I'm not too enthusiastic about making DB dumps publicly available, but as an additional illustration to the table structure here's an example SQL script to add a model and the corresponding

Re: [Flightgear-devel] Re : Scenery web and scene models

2012-02-14 Thread Pedro Morgan
On Tue, Feb 14, 2012 at 4:39 PM, Jon Stockill wrote: > On Mon, 13 Feb 2012 19:43:17 + (UTC), Martin Spott wrote: > > > To be honest, there's a lot of ugly cruft in some of the web site > > code > > and the plan was to cast this into a nicer shape before making it > > public. Unfortunately th

Re: [Flightgear-devel] Re : Scenery web and scene models

2012-02-14 Thread Jon Stockill
On Mon, 13 Feb 2012 19:43:17 + (UTC), Martin Spott wrote: > To be honest, there's a lot of ugly cruft in some of the web site > code > and the plan was to cast this into a nicer shape before making it > public. Unfortunately the plan was never pursued. Actually it's *mostly* ugly cruft. I h

Re: [Flightgear-devel] Re : Scenery web and scene models

2012-02-13 Thread Pedro Morgan
would it be possible to "dump" the fgs_* tables and made available as a tarball... even a minimal set with limited records ? Pete On Mon, Feb 13, 2012 at 7:43 PM, Martin Spott wrote: > Olivier wrote: > > > > However atmo its an unknown "thing" happening in some "dark room" with > some parts ava

Re: [Flightgear-devel] Re : Scenery web and scene models

2012-02-13 Thread Martin Spott
Olivier wrote: > > However atmo its an unknown "thing" happening in some "dark room" with some > > parts available.. > > As already said, this has been the case for many years, and the git > data you are seeing is a clear way to showing you that things are > changing. To be honest, there's a lo

Re: [Flightgear-devel] Re : Scenery web and scene models

2012-02-13 Thread Martin Spott
Olivier wrote: > For the moment I wrote some simple PHP functions (not in git yet) to > avoid rewriting everything each time. However there are mostly two > parts on the scenery site (not talking of mapserver) : the part I > wrote (adding, editing, deleting positions) and I'm still working on, >

[Flightgear-devel] Re : Scenery web and scene models

2012-02-13 Thread Olivier
Hi Pedro, > So I am at a standstill as some "parts are missing".. > Notably header.php is missing and other stuff for db connection. and > obviously data.. > Which is understandable.. we dont want everyone to have access to a not db > and the server is apache and probably configured in a custom