I am a beginner in Struts2. Can anyone can provide links to video or tutorials on Struts2 and Hibernate with netbeans, to give me a head start in this?
Thank you very much.
If you are doing real work with Struts2, the tutorials (and the "Starting Struts2") are not enough, some real books are advisable: "Struts 2 in Action" is nice, and also "Webworks in Action" . Bear in mind that Struts2 has MUCH more in common with Webworks than with Struts.
Yes, Struts 2 in action is a good book, but, even better is write a lot of code, practice!
http://struts.apache.org/2.x/docs/getting-started.html
http://struts.apache.org/2.x/docs/home.html
Related
Examples are great, but scaffolding some templates for your existing odata model entities would be a way better start and would reduce waste time for repetitive work a lot!
Perhaps you'd like to contribute such templates? We would welcome them ... or at least an example as we're not clear on what template would be most valuable for this purpose. I know this sounds snarky but it's a genuine request for help.
I need a Rails plugin that gives you the chance to purely separate HTML and any logic in your views. Views should be classes reading the separate markup and replacing it with dynamic content where needed.
Basically Effigy from github does this.
I am looking for something like Wicket, but on the Rails base.
I can remember seeing a plugin from a Rails enterprise that does this. In my memory, it was better and seemed more mature than Effigy. But I forgot its name. It was something like "luxurious" or "delicious"; does anyone know what I am talking about? The plugin was created in a US Rails enterprise.
Any other alternatives would be much appreciated.
I feel that Effigy is almost OK, but it's hard to find tutorials or people using it properly, so I question its the maturity.
Well, if nothing comes up, I will go ahead with Effigy for now.
All right guys, I think I finally found what I was talking about.
The plugin is called "Erector"
The thing that I like about it, is that views are finally plain ruby objects and you can do everything you can usually do in ruby. I found couple of blogposts:
https://github.com/erector/erector
Why I always liked this idea you can easily see in this blogpost
I want to thank the creators for this.
Is there a way that I can produce a report in RoR without using Ruport or any other report generator rails plugin?
There is nothing magical about a "report", you can create your own view which calculates summary data in whatever type of visualization you might need.
I gave my Spanish railsconf talk about that:
http://www.slideshare.net/ferdinand13/el-ferrocarril-contra-los-arboles-muertos2
(Spanish)
You have a handful of options, any of which is a silver bullet.
I am very pleased with wicked-pdf lately.
I hope this helps you, sorry the slides are in spanish, but code samples should serve you to get an idea.
You can try to use Jasper Report as your report backend processing. You can design your report with Jasper's web interface and programmatically call Jasper's processing tools.
Have a look here.
I hope it'll help.
I'd like to know what people think what websites are good examples of AJAX with Ruby on Rails at the moment.
I'm learning both and would like to see some good interesting examples of what can be done.
THanks,
Joe
http://haystack.com/
http://rubyonrails.org/applications
These links will open a new horizon for you.
Perhaps grab a copy of http://www.redmine.org/ and look it over. Maybe not the bleeding edge of ajax but there is some good stuff in there all around for rails development. I learned a lot from it.
If you're just getting started and interested in unobtrusive AJAX with jQuery, I have a blog post you might be interested in. Basically it takes a simple scaffold generated site and adds unobtrusive deleting with jQuery step by step - if that sounds like something you'd be interested in feel free to check it out.
Twitter.com is an excellent example of what can be done with AJAX. I believe the site is coded in Ruby on Rails as well.
I have to add Wufoo-like WYSIWYG form-builder functionality to a Rails webapp.
Does anyone know of good resources (gems/engines/plugins/example code) that would help?
this is not really an answer to your question, but I still can't add comments unfortunately, due to my reputation level, sorry :)
There is exact equivalent of such functionality in Drupal(php)
http://drupal.org/project/webform especially useful for contact forms, i.e. clients happy and don't bug me every time they want to adjust or even to add new inquiry form :)
Would be nice to have such gem/plugin if any? :P
Thanks.
I don't think creating such a app in rails would be a great idea.
Using AR, such an app would be creating migrations on the fly - which doesn't sound like a great thing to do.
AFAIK, wufoo uses php.