Re: [Flightgear-devel] Re : Re : Scenery web and scene models
Started playing with smarty... https://gitorious.org/~ffs/fg/ffs-sceneryweb pete -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Re : Re : Scenery web and scene models
Pedro Morgan wrote: So ive created a pyqt interface GUI, with an embedded marblemap map, and would like to aquire data about scene models online via ajax.. so I can splat on the map.. and being clever with which models are used where etc.. So the full web interface is not required really, merely a way to aqquire the data machine to machine via ajax and preferably being able to page by lat_lon and positions.. Ok, that's understod. Anyhow, the general problem which is linked to unfiltered DB access is the simple fact that it would make the DB vulnerable. The web frontend is a measure to defend us against jerks trying to suck the entire DB content over HTTP I have to admit that I don't have an 'easy' solution handy right now. More info about the server and its state and limitations would be appreciated.. Which information precisely are you looking for ? afaik the scenemodels/ web is there completely, but am curious where the $db* credentails come from.. , are there is a pre preocessor on php or alike.. No preprocessor, the DB credentials are stored in a file which is included via an auto_prepend_file PHP directive in Apache. Not quite sure what Sphere is, but the scenemodels is not in sphere? umm where are images stored.. sphere is the nickname of a machine running the web-frontends for the FlightGear Scenemodels and MapServer web sites. The database itself resides on a separate, quite powerful machine. Every content, being it models of thumbnail images are stored as BASE64-encoded content in the DB. is there a staging play server somewhere for the scenemodels web? Yep, the play server is the public web site :-) Cheers, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Re : Re : Scenery web and scene models
Pedro Morgan wrote: Actually can I ask some questions..and some feedback.. maybe.. One day I'll probably publish the Apache config as well. 1) the server is using mod python and php ? Yes. Also I assume there are a few mod reqrites on the server to make index.psp appear as homepage.. No, that's just set via the DirectoryIndex directive. 2) is there a platform target moving forwards ? I guess not.. its an apache server.. rather than nginx I simply don't understand this question. 3) everyone can play.. I think what would be useful is to create a scenery web internationally, so we can all share data somehow.. This means that I based in wales in Uk am only really interested in this part, and could create new objects for my space.. eg a scholl ciriculum.. The primary intention of the Scenemodels repository is and has ever been from it's initial start to have a common repository which is collaboratively filled with the best scenery models we have for the entire world and which are 'compatible' with the GPL. I can't imagine why your local area ain't be a part of the World Scenery. Cheers, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Re : Re : Scenery web and scene models
Pedro Morgan wrote: Can I make a suggestion;; To split the sceneryweb into two repositories.. eg fg-www-mapserver fg-www-scenemodels Scenemodels, the former FlightGear Scenery Database and the FlightGear MapServer had been starting as independent projects. We're now right in the middle of the process to merge these into a harmonized platform/repository for FlightGear Scenery ressources. Actually they both already run on the same Apache and the same database (just different tables, obviously), but on different HTML/PHP/Python code from different directories. This is splitting the scenery data which is models and positions and written in php and the mapserver which is another caper... I don't see any benefit in keeping things separated. Please explain, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Re : Re : Scenery web and scene models
Pedro Morgan wrote: Guys take a look at this in php http://flightgear.daffodil.uk.com/index.php Looks familiar, isn't this your proposal for a re-design of the main FlightGear site ? So what it boils down to is the fact that all of us are working on different tangents in php// and alike.. Yes, I guess so. Anyhow I think we've been driven by different motivation. Jon and myself had been hacking stuff together for getting at least a bare interface to the data up and running. Olivier has started doing some sane design on top Jon's core infrastructure. You Pedro have been setting up a neat site with lots of templated pages. Getting all the bare interface functionality reasonably integrated into the neat design without adding too many obscure dependencies is the challenge. And, as a requirement, Jon doesn't want to learn Python :-) Lets face some facts in my local Area.. In the south wales area and connection to english person There are two bridges across the severn bridge.. I would like the scene models for that.. Just go ahead, create all these models you have in mind and submit the result to Scenemodels, according to the published recommendations / guidelines. So to acieve that we need a RO only version so we can see whats wrong, [...] I disagree. Cheers, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] Re : Re : Scenery web and scene models
Hi Pete, May I suggest to make things step by step: 1. Finish the upload of all the concerned files to GIT ; 2. Update the sphere filesystem organization so the changes are easier to implement (for the moment, each user has a specific access to the server and specific permission on files). Once all files are on GIT, we'll have to find a proper solution to reflect changes down to Sphere. 3. Once this step is done, we'll have a better view on the whole stuff, able to delete old files, make things common, etc. 4. Finish our to-do list (mostly mass import + 3D models import): this will save time for Martin and others - and enable him to work on other scenery important stuff. 5. Then, go on on big scenery-website enhancement (such as smarty, or others) to make things easier to maintain on the long term. Oliver N.B. : let's say Jon, Martin, and myself now quite have a good overview on how this works (at least for the real scenery stuff). We also have our RL timetables. With you, we would - will be 4. However, making cooperation work is something needing steps 1 and 2 to be achieved. Will be happy to welcome you on the 3 to 5 steps, but for the moment, we have to keep things simple - I'm sure you'll understand once all files are gitted. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Re : Re : Scenery web and scene models
I got some spare time.. so thats why am purusing this.. What I'm actually doing is using SceneryWeb as a guineapig and r+n for Rl job.. (in geotchnical testing)... So ive created a pyqt interface GUI, with an embedded marblemap map, and would like to aquire data about scene models online via ajax.. so I can splat on the map.. and being clever with which models are used where etc.. So the full web interface is not required really, merely a way to aqquire the data machine to machine via ajax and preferably being able to page by lat_lon and positions.. On Tue, Feb 14, 2012 at 8:26 PM, Olivier acom...@yahoo.com wrote: Hi Pete, May I suggest to make things step by step: I understand there's a lot involved.. am only looking at scenemodels which is php application and looks complete gitfiles/etc, More info about the server and its state and limitations would be appreciated.. 1. Finish the upload of all the concerned files to GIT ; afaik the scenemodels/ web is there completely, but am curious where the $db* credentails come from.. , are there is a pre preocessor on php or alike.. 2. Update the sphere filesystem organization so the changes are easier to implement (for the moment, each user has a specific access to the server and specific permission on files). Once all files are on GIT, we'll have to find a proper solution to reflect changes down to Sphere. Not quite sure what Sphere is, but the scenemodels is not in sphere? umm where are images stored.. 3. Once this step is done, we'll have a better view on the whole stuff, able to delete old files, make things common, etc. 4. Finish our to-do list (mostly mass import + 3D models import): this will save time for Martin and others - and enable him to work on other scenery important stuff. Where is the todo list? or am i missing something 5. Then, go on on big scenery-website enhancement (such as smarty, or others) to make things easier to maintain on the long term. Am working on this.. think it will make it quicker in the shortterm also.. ;-) Oliver N.B. : let's say Jon, Martin, and myself now quite have a good overview on how this works (at least for the real scenery stuff). We also have our RL timetables. With you, we would - will be 4. However, making cooperation work is something needing steps 1 and 2 to be achieved. Will be happy to welcome you on the 3 to 5 steps, but for the moment, we have to keep things simple - I'm sure you'll understand once all files are gitted. is there a staging play server somewhere for the scenemodels web? if not then I dont mind hosting one.. Only snag is I need the db databases and subset of data, could even be a slave... or even ro to live db Pete -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Re : Re : Scenery web and scene models
Actually can I ask some questions..and some feedback.. maybe.. 1) the server is using mod python and php ? how did it end up like that.. I;ve never succesfully actually managed to run python so am dead curious.. Also I assume there are a few mod reqrites on the server to make index.psp appear as homepage.. 2) is there a platform target moving forwards ? I guess not.. its an apache server.. rather than nginx however i have two views about stuff, having moved apps from php to python wsgi, I am now in a way backporting.. the python wsgi server has to be stopped for an update to occur, and restarted.. with apache what is everyone.. with nginx, only the process needs to be killed and restarted.. php however is a script, so no wsgi server to update, just the file for a hot patch/ uploaded via ftp or scp.. wsgi and nginx had the advantage of the url rewrite to be in the server configuration.. wheras a mod_reqrite is something upon server. 3) everyone can play.. I think what would be useful is to create a scenery web internationally, so we can all share data somehow.. This means that I based in wales in Uk am only really interested in this part, and could create new objects for my space.. eg a scholl ciriculum.. having an api via ajaax to the backed DB of scenemodel is the only way to do this safely and scurly without stressing the server... anyway.. some thoughts. /me in the meantime is knocking up a html interface, for fun ... ;-) pete -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Re : Re : Scenery web and scene models
Can I make a suggestion;; To split the sceneryweb into two repositories.. eg fg-www-mapserver fg-www-scenemodels This is splitting the scenery data which is models and positions and written in php and the mapserver which is another caper... Just a logical idea IMHO pete -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Re : Re : Scenery web and scene models
Guys take a look at this in php http://flightgear.daffodil.uk.com/index.php code is here https://github.com/ac001/flightgear-php So what it boils down to is the fact that all of us are working on different tangents in php// and alike.. So create a nice lib outta this for run on my machine here is possible.. Php is cool, we need to encourage users to download , investage the a ltest scenemodels and place new ones on the scenery..Ie we wanna run a test version first...somewhere somehow// Lets face some facts in my local Area.. In the south wales area and connection to english person There are two bridges across the severn bridge.. I would like the scene models for that.. Regardless of that, i would position a few sheds of significance along the way.. eg being a kid bored at home, place a house or structure somewhere.. or add a feature.. Regardless of that the hit rate on this site is probably zeror.. So the interface we want to create is one of.. Well its the new fg=scenery-app and am looking down satallitle level.. and some things are missings.. we need some buildings.. and traffic.. So to acieve that we need a RO only version so we can see whats wrong, and then consider how to update/// is the kinda idea.. thinking out loud and sorry for verbosity... (and love u all for V) pedro -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel