From: Adam R. <ad...@ex...> - 2009-11-17 16:06:25
|
2009/11/17 Wolfgang Meier <wol...@ex...>: > [Adam wrote:] >> Personally I think it should be an XQuery Application which can be >> deployed into the database. i.e. you are provided with a .xqa archive >> file and you give that to eXist and it unpacks and installs the >> application into the database. If you dont want to install it then you >> dont have to, you could even remove the application. I dont see any >> value in being able to install it to the file-system or the db? I >> think just the db. > > No, I don't see why we should artificially limit the application. It > should be possible to deploy the admin webapp in any location. > Remember that people may want to embed eXist into their own webapp and > you don't know in advance what will work best for them. Ah of course, I always forget embedded mode... I guess because I have never used eXist in that way in my projects. > [Thomas wrote:] >> Adam, connecting to a remote server is an essential feature. Can we do this only by using XQueries or we >> will need same extra JAVA code? > > Why do you need to connect to a remote server? It will be a web > application. You can deploy it on every server you like without > compromising security more than by opening REST or XMLRPC access. I > don't think remote access would have any benefits. It is often easier to manage all servers from a single location. If you have multiple servers having to connect to each in turn and manage them is more difficult, you should also be able to see the status of all servers at once. > We shouldn't set the requirements too high. The client should be > lightweight. As I said before, it should ideally work from a phone. How about if the application was just XHTML+JS and you could literally launch it from a file/folder on the desktop. The server side would of course be REST+XQuery, but the client could just use AJAX to talk to it. I think this would offer the cleanest most possible approach. i.e. Develop the app in two parts - the server side REST+XQuery part which could sit in /db/system/webclient and the client side part which could even just be a single XHTML file and you could deploy this anywhere, including your palm pre or iPhone. > Wolfgang > -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |