tag:blogger.com,1999:blog-2560373426889485631.post1639246039433690826..comments2023-10-22T04:48:01.921-07:00Comments on Thinking about Software: Thinking about creating an new Java Web frameworkAnonymoushttp://www.blogger.com/profile/11952421268765991465noreply@blogger.comBlogger21125tag:blogger.com,1999:blog-2560373426889485631.post-70712409189877941712016-04-04T14:19:40.508-07:002016-04-04T14:19:40.508-07:00@Rajesh,
thanks. You can checkout this blog: http...@Rajesh,<br /><br />thanks. You can checkout this blog: http://software-lgl.blogspot.com.au/2016/03/introduce-to-actframework-new-java-mvc.htmlAnonymoushttps://www.blogger.com/profile/11952421268765991465noreply@blogger.comtag:blogger.com,1999:blog-2560373426889485631.post-60866223909181363522016-04-04T07:32:51.116-07:002016-04-04T07:32:51.116-07:00Congrats Green for your new framework!Congrats Green for your new framework!R. Rajesh Jeba Anbiahhttps://www.blogger.com/profile/18112920830516461162noreply@blogger.comtag:blogger.com,1999:blog-2560373426889485631.post-76280439500624903722016-02-23T02:42:15.840-08:002016-02-23T02:42:15.840-08:00So three years passed since I write this post. And...So three years passed since I write this post. And the framework I am working on for more than one year is right over there! Although I am still working on polishing the product, writing documents, but it is put into real usage in my company, and I super happy with it. <br /><br />You guys can have a look at https://github.com/actframework/actframework<br /><br />And I am about to speak on it in the incoming JVM meetup in Sydney at 4/Mar/2016. Exciting about Act!Anonymoushttps://www.blogger.com/profile/11952421268765991465noreply@blogger.comtag:blogger.com,1999:blog-2560373426889485631.post-40478043508329562022013-03-21T11:24:19.623-07:002013-03-21T11:24:19.623-07:00Hey there - in case you have some spare time, plea...Hey there - in case you have some spare time, please have a look at <a href="http://micro-docs.simplegames.ca" rel="nofollow">(µ)Micro</a>. It is an open source Java framework I created recently with the very same hope of bringing the fun back into the Java web development. Right now I am focusing on integrating various Template engines. Engines supported out of the box so far: Velocity, Freemarker, StringTemplate and Markdown, and I am about to finish the integration with the Mustache.java. You can create Controllers using Java classes or scripting; using Beanshell or RhinoJS. The source, the docs and the examples are all on Github, if you guys are interested to contribute or simply fork. Also, I was curios to see how a simple "Hello World" app using Micro compares with a similar one using Ruby/Sinatra, and the results are here: https://github.com/florinpatrascu/micro_and_sinatra_showdown, just in case. Your feedback will be greatly appreciated, thank you!Spikes of Nothingesshttps://www.blogger.com/profile/05216181718833598027noreply@blogger.comtag:blogger.com,1999:blog-2560373426889485631.post-67254099753263799952013-02-22T20:33:27.028-08:002013-02-22T20:33:27.028-08:00Often I have to reuse templates for a complete det...Often I have to reuse templates for a complete detail page and a small informational dialog.<br />With other engines i need two templates: The view itself and one including the view and extending a layout, because they cannot process "layout/extends" at runtime.<br />The groovy engine does, so I can do an #{if expr} around layout/extends.<br /><br />But that is only a nice feature. There is another reason to not change the default engine and that is because the players know their groovy engine. The players who choosed another engine can do that in future, too.Anonymoushttps://www.blogger.com/profile/08652830491415485430noreply@blogger.comtag:blogger.com,1999:blog-2560373426889485631.post-18651509512631466132013-02-22T12:06:09.909-08:002013-02-22T12:06:09.909-08:00Is there any (simpler or not) template engine proc...Is there any (simpler or not) template engine process "layout/extends" at runtime?<br /><br />Usually ajax requests are called to get data (in json most probably), or to retrieve part of a page, e.g. a dialog content. neither one would touch the template layout dispatch at runtime. Instead I prefer to put something like the follows in a controller:<br /><br />if (!request.isAjax()) {<br /> Applicatin.index(); // redirect to the home page.<br />}<br />Anonymoushttps://www.blogger.com/profile/11952421268765991465noreply@blogger.comtag:blogger.com,1999:blog-2560373426889485631.post-53576105311209245272013-02-22T06:21:33.633-08:002013-02-22T06:21:33.633-08:00Nice idea, but I would not change the default temp...Nice idea, but I would not change the default template engine to rythm. I would make usage of other engines simplier instead.<br />Think of following situation:<br />#{if !request.isAjax()}<br /> #{extends 'main.html' /}<br />#{/if}<br />when reloading a part of your site via ajax, you don't want unnecessary parts rendered and you probably don't want to write extra tempate/action for that.<br />As far as I know rythm does layout-handling at compile time.Anonymoushttps://www.blogger.com/profile/08652830491415485430noreply@blogger.comtag:blogger.com,1999:blog-2560373426889485631.post-83618389716876164232013-02-14T07:05:26.485-08:002013-02-14T07:05:26.485-08:00I have a different opinion. Building a new framewo...I have a different opinion. Building a new framework from stratch is an easier, faster and more enjoyable way than change a huge part of already written code. However, sources of Play 1.x will be very useful as examples and can save most part of development time.Roman Dolgushinhttps://www.blogger.com/profile/17298853410679229866noreply@blogger.comtag:blogger.com,1999:blog-2560373426889485631.post-88066459045162478972013-01-04T16:03:30.023-08:002013-01-04T16:03:30.023-08:00I agree with you Matt.I agree with you Matt.Léo Douglas Padilhahttps://www.blogger.com/profile/01321997464032155920noreply@blogger.comtag:blogger.com,1999:blog-2560373426889485631.post-24413614300665489652013-01-02T14:31:56.729-08:002013-01-02T14:31:56.729-08:00Hi Green,
I think maybe the most important thing ...Hi Green,<br /><br />I think maybe the most important thing we could do is gather all the 1.x enthusiasts left so even basic development and bug fixing can continue. I'd be interested in just starting with a maintenance branch at least so we can start addressing some issues we're all experiencing.<br /><br />Perhaps the best way is to just fork 1.x and run everything on github? Unless there's already a popular 1.x branch out there we could join.<br /><br />MattAnonymoushttps://www.blogger.com/profile/04446948609126610388noreply@blogger.comtag:blogger.com,1999:blog-2560373426889485631.post-78994537434750841812012-12-31T15:32:47.572-08:002012-12-31T15:32:47.572-08:00Could you add the project lombok nativeCould you add the project lombok nativeLéo Douglas Padilhahttps://www.blogger.com/profile/01321997464032155920noreply@blogger.comtag:blogger.com,1999:blog-2560373426889485631.post-30841307420233499522012-12-31T09:41:53.650-08:002012-12-31T09:41:53.650-08:00+1 to your idea.+1 to your idea.Léo Douglas Padilhahttps://www.blogger.com/profile/01321997464032155920noreply@blogger.comtag:blogger.com,1999:blog-2560373426889485631.post-36291701575453213102012-12-10T14:01:34.280-08:002012-12-10T14:01:34.280-08:00The situation is play-1.x marked as maintenance in...The situation is play-1.x marked as maintenance in lighthouse, there are 583 open tickets and 495 tickets waiting for triage. I have 11 new open tickets and some of them is 1 years old already.<br /><br />As you said keep on 1.x line won't change the static methods, neither will they change the plugin mechanism, and some good stuff in play 2, let's say async actor model and non-blocking IO etc.<br /><br />So all in all I want an new play 2 which favour play 1.x programmer instead of typesafe...Anonymoushttps://www.blogger.com/profile/11952421268765991465noreply@blogger.comtag:blogger.com,1999:blog-2560373426889485631.post-22674295793529069072012-12-10T05:25:13.068-08:002012-12-10T05:25:13.068-08:00As far as I understand they haven’t refused to dev...As far as I understand they haven’t refused to develop v1.x, they are planning to release 1.3 with the new hybernate soon. <br /><br />So, is there any sense? They already have open source. One can just change what you want and make pull request to Play Framework.<br /><br />Or to make one’s own compilation on the base of Play, that’s the best variant. It means that it will be the core of play 1.3 with the support of morphia and built-in rythm. It will be more comfortable for the beginners as they will receive the functioning product with the best solutions and the users won’t have to think, how it can be installed or what option to choose.<br /><br />But it will not let to get rid of such things as static methods… (<br /><br />Anyway the development of the framework is a team task. There are different life circumstances, but there always should be someone, who won’t let the project die, if one member of the team leaves.<br /><br />All in all, what you want to do is awesome, but I feel a bit worried about this idea, because you will put a lot of work in smth alone, that probably will not bear fruit, as the task is really very complicated. <br /><br />Good luck, no matter what decision you take, we will support you)<br /><br /><i>The team of the developers, actively using your solutions. Moscow, Russia</i>romkahttps://www.blogger.com/profile/09229350270601710668noreply@blogger.comtag:blogger.com,1999:blog-2560373426889485631.post-75734558245165639682012-12-07T23:34:45.270-08:002012-12-07T23:34:45.270-08:00This comment has been removed by the author.璟https://www.blogger.com/profile/00991130268146286643noreply@blogger.comtag:blogger.com,1999:blog-2560373426889485631.post-84827874378823250892012-12-07T23:34:14.755-08:002012-12-07T23:34:14.755-08:00Hi Green.
+1 to your idea.
In our company I was...Hi Green. <br /><br />+1 to your idea.<br /><br />In our company I was thinking of recommending Play! to our company when play2.0 was just out and the dilemma of 1.0 and 2.0 stopped us from using it.<br /><br />Play 1.x is the best Java Web framework but not supported any more; Play 2.0 is in Scala and no one in our company actually understand it.<br /><br />Now that you if you are able to gather a force to push play 1.x forward, we could again think about adopting it :-)<br /><br />But that means, we want solid quality of play 1.2.x. I think it would be better if we fork play1.x and evolve it JUST AS what was expected if play 2.0 never happened. Keep the steady and playful pace once we all enjoyed.<br /><br />You don't have to write the new framework from scracth, which would take too much time and effort, and will keep away play1.x users.<br /><br />So at first we don't have to introduce any new features. I think making Rythm as the default template engine would be great.璟https://www.blogger.com/profile/00991130268146286643noreply@blogger.comtag:blogger.com,1999:blog-2560373426889485631.post-69022575115041726882012-12-07T23:19:15.067-08:002012-12-07T23:19:15.067-08:00I am very glad for your idea. One important thing ...I am very glad for your idea. One important thing is don.t forget google app engine support. The new framework should have better and continous (and built in?) GAE support. That way most previous and current play/gae developer will migrate. And that will be a very big user base.bendanpahttps://www.blogger.com/profile/07745214909607778705noreply@blogger.comtag:blogger.com,1999:blog-2560373426889485631.post-53290366849837754042012-12-07T03:12:58.306-08:002012-12-07T03:12:58.306-08:00Green, I appreciate your efforts to revive Play1.
...Green, I appreciate your efforts to revive Play1.<br /><br />While I can't understand your idea/architecture 100%, I think, it would be better to keep the framework more like RoR or CakePHP (100% if not 99% clone).<br /><br />In Java, Scooter framework is more like RoR, but when I had some questions posted that couldn't get any answers https://groups.google.com/group/scooter-framework/msg/ce563310b30033ab Personally, I find Scooter easier to adopt than Play!, but it seems to be missing few things like render partials and REST routing as in CakePHP (so that any extensions like .json, .xml... can easily be routed to different view).<br /><br />Why I'm mentioning about Scooter framework is that from my *illiterate* point of view, it could better be enhanced than to enhance Play1.<br /><br />If we take Play1, I'm not very sure about Ebean Vs JPA, but I'm very comfortable with JPA. For routing, I think, it would be better to keep default routing with strict naming conventions--to avoid bloated routing definitions.<br /><br />Regarding the need for new framework... for our team, we've now somewhat settled in Play1, but may prefer more RoRish or Nodeish (like Vertx). I'm finding that some "Play! fans" seem to pickup Play2 for the sake of brand Play!. I personally feel that the bullish Play! community has killed (IMHO) better frameworks like ActiveWeb and Scooter... So, please be cautioned about your precious time! If possible, create a github and see how the feature requests are coming up... and then it may be better to proceed your journey. All the best!R. Rajesh Jeba Anbiahhttps://www.blogger.com/profile/18112920830516461162noreply@blogger.comtag:blogger.com,1999:blog-2560373426889485631.post-90592114832762585592012-12-07T01:27:55.123-08:002012-12-07T01:27:55.123-08:00Hey Green,
I am with you. Play2 forgot about the ...Hey Green,<br /><br />I am with you. Play2 forgot about the values that Play1 was standing for. <br /><br />I jumped on the node.js train by using meteorjs as it's really a revolutionary paradigm shift in webapp creation.<br /><br />Why not fork play1, copy the old website and start improving instead of starting from scratch?<br /> <br />Cheers BijanBijanhttps://www.blogger.com/profile/04058095593408953482noreply@blogger.comtag:blogger.com,1999:blog-2560373426889485631.post-54944623531439046042012-12-06T22:21:06.834-08:002012-12-06T22:21:06.834-08:00Hi Olivier,
Thanks for your comments. Yes the eff...Hi Olivier,<br /><br />Thanks for your comments. Yes the effort is the biggest concern. I should take it into serious consideration. The reason I want to create an new framework instead of moving to others like Django, Rails or Meteor is I still love play1.x 's idea, that is to provide fun experience to pure Java programmer.<br /><br />I feel it is a bit similar to my last year at the same time, when I was thinking about creating an new template engine for Java programmer, it must be easy to use and it should be Razor like. I was not sure if I can make it by that time coz I had zero experience on template engine and I know it's going to take a lot of my time to do that. I should be in better position now :)<br /><br />So in the end the gap I want to fill is the gap left by play version one, a simple elegant and powerful web framework for Java person.<br /><br />Cheers,<br />GreenAnonymoushttps://www.blogger.com/profile/11952421268765991465noreply@blogger.comtag:blogger.com,1999:blog-2560373426889485631.post-87169079377931270252012-12-06T20:05:42.994-08:002012-12-06T20:05:42.994-08:00Green,
This sounds like a great idea. I actually ...Green,<br /><br />This sounds like a great idea. I actually left the java/play ecosystem when play 2.0 released. The new framework didn't match my expectations - it wasn't playful anymore.<br /><br />After a few back and forth between technologies, I finally settled on Node.js<br /><br />What I discovered is a very light set of technologies that work together like charm and make development fun again.<br />I was just getting up to speed with npm, express, assert-pipeline, socket.io when I discovered something really interesting: Meteor (http://www.meteor.com/)<br />Built on top of node, Meteor is something really different from the typical MVC page model I was familiar with. Take a look, it may give you some ideas...<br /> <br />Back to your point, a new framework has to fill a gap.<br /><br />Asynchronous IO in Java? You already have Vert.x and Play 2.0<br />Fun? that's hard to quantify because we all have different expectations, I am sure people enjoy Wicket<br />Corporate support? you have fat J2EE+Spring, it's going to be hard to grab attention.<br /><br />Developing a framework is a full time job, it might be easier to build on top an existing one like (Vert.x)<br /><br />Hope this helps,<br />Olivier<br />orefalohttps://www.blogger.com/profile/06991062389509577072noreply@blogger.com