On Wednesday, August 7, 2013, Jason Moore <notifications@github.com> wrote:
> In pydy_viz/server.py:
>
>> @@ -0,0 +1,19 @@
>> +import sys
>> +import BaseHTTPServer
>> +from SimpleHTTPServer import SimpleHTTPRequestHandler
>> +
>> +
>> +def create_server(port=8000):
>
> Seems like these kind of questions will be answered once you present
I have some thoughts on the same, which
We can discuss on weekly meeting.
> Seems like we haven't thought of some things:
>
> Should the user ever see the index.html file in the their working
directory? I would think we wouldn't want them to see that or even edit it.
> Should we go with the hackish re.subs() methods of injecting things into
our html and js files? It doesn't seem like a good idea, in general.
> Should the use be able to select other json files to load once they have
the web app running? (i.e. if I do scene.display() I'd except to see the
scene that I just defined, but should I be allowed to select another json
file in the web app or do I need to run the python command for that one?
> What happens when you have multiple json files in one working directory.
These can be different sims of the same model or sims for different models.
MGView's method is to not be tied to the server side program (in their case
MotionGenesis). MGView works with any correctly formatted json files you
provide it.
>
> —
> Reply to this email directly or view it on GitHub.