|
From: manny k. <man...@gm...> - 2016-07-01 14:49:57
|
Hi Barry, I'll like to try out your approach of building and starting Web UI. Question 1: can you start the sim before deployment without maven? Before we redesign mars-sim to be deployed as a persistent sim world for users to log in, Q2: how does the user start the local sim on their computer? Do they have to have spring boot pre-installed and maven pre-installed? We still want to package mars-sim in such a way that a user only have to click on the icon to start the sim. Manny On Jun 25, 2016 7:31 AM, "Barry Evans" <bar...@ya...> wrote: > The use of ThemeLeaf is interesting as it is a server side template > approach along the lines of JSP and later JSF. These do have their > drawbacks specifically increasing server load when supporting multiple > concurrent users. I've never really loved this approach as it relies on > more knowledge of HTML. However I can see that the benefit of pre-defined > templates is pretty compelling. > > For me the work I've been doing my current playing was to experiment with > using the React framework with Bootstrap utilising a web service backend. > Essentially separating the simulation logic from the application side > whether that be browser or mobile app in the future. That's the type of > things I do in my day job. The mars-sim project was something I knew from > the past and was a good seed for trying out some ideas. I've become > unbelievably busy with work this month so I've got no time to contribute at > the moment anyway. > > As an aside the work I've played with can be used running locally as well. > > Barry > > > On Saturday, 25 June 2016, 7:08, manny kung <man...@gm...> wrote: > > > see > http://www.technicalkeeda.com/spring/spring-boot-bindexception-address-already-in-use-bind > > and > http://serverquestions.com/questions/lpks/tomcat-and-jetty-only-work-once-in-windows-and-then-crash > > in case you run into bindException on a different platform when running > spring boot. > > On Fri, Jun 24, 2016 at 10:56 PM, manny kung <man...@gm...> wrote: > > Also, after I edit the html5/js/css pages, I always need to bring down the > tomcat server and restart in order to see the new changes. > > To do it correctly, in eclipse, I right click on the trace stack, in the > popup menu, I choose "Terminate/Disconnect all" to bring down the server. > This time, the port will be put OUT OF USE successfully, or else the port > may still be "bind" to the server in a thread. > > see attached. > > > > > > On Fri, Jun 24, 2016 at 10:41 PM, manny kung <man...@gm...> wrote: > > > When running SpringAppLeaf to start the tomcat server, I just just a port > issue temporarily by adding a file that specify a port other than 8080. > > see attached pic about starting on port 9090. > > > Will commit in a moment. > > > By the way, I'll start digging deeper into how well and how fast one can > feed data from java to javascript in thymeleaf. > > For now, as shown in the attached pic, all those numbers in the icons in > the top right hand (email, notification and task) are fake, though they are > programmable to change. > > > > > On Thu, Jun 23, 2016 at 7:48 PM, manny kung <man...@gm...> wrote: > > Hi all, > > I'm using someone's html design template to create a demo html page for > mars net. > > You can run SpringAppLeaf.java in eclipse and open a browser and enter > "localhost:8080" to see it. > > The point is that there are hundreds of thousands of beautiful, almost > ready-to-go html5/css/js templates or code snipplet out there for us to > use, instead of having to creating UI from scratch. > > Perhaps the next thing is adding in Barry's codes in bitbuckets. > > See attached. > > Will commit in a second. > > > Hi Barry, > > Can we first start building all the needed UI in html5/js/css for mars-sim > in such a way that mars-sim can run on a local machine ? > > And we will also add in a multiplayer mode for mars-sim to run on a > network or across the internet. > > When everything is ready, mars-sim will demonstrate its innovation in such > a way to attract people around the world to donate a few bucks so that we > can run as one persistent world or as a MMO in Amazon S3. > > Let's dream on! > > Manny > > > > > > > > > > > > |