struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dusty <dustin_pea...@yahoo.com>
Subject Re: Any hint of JQuery on struts2 tutorial, thanks!
Date Wed, 29 Apr 2009 04:29:57 GMT

Perhaps you are looking for some basic "tidbits" you may commonly use:

a) Calendar pop-up
b) Ajax calls with JSON response from Struts
c) Simple element hide/show

Can you build a list like this of things you need to build your UI or are
you looking more for skill building sources?


fireapple wrote:
> 
> Thank you! It seems I have a lot to learn:-)
> 
> 
> Wes Wannemacher wrote:
>> 
>> On Tue, Apr 28, 2009 at 10:39 AM, fireapple <taizhang1981@gmail.com>
>> wrote:
>>>
>>> Hi, Wes, on the table of content of the book, I didn't find anything
>>> related
>>> to JQuery and Struts2. Since JQuery is similar with JavaScript, can we
>>> say
>>> we can use JQuery in Struts2 as soon as we can use JavaScript in
>>> Struts2?
>>> Thank you. I'm a new programmer with stupid questions,:-)
>>>
>>>
>>>
>> 
>> JQuery is a JavaScript framework/library, so if you are using JQuery
>> with Struts2, then you are using JavaScript with Struts2. Depending on
>> how new you are to programming, there may be better places to start.
>> JQuery isn't similar to JavaScript, it is JavaScript in the same way
>> that Struts is Java. JQuery takes many of the things that are
>> difficult in JavaScript and makes them easier. You are still using
>> JavaScript, but rather than writing 20 lines of code, you write just a
>> few. Looking back through the ToC, I guess I don't make it clear that
>> there is JQuery coverage specifically, but as I mentioned before, the
>> examples so far are already using JQuery. It may be hard to pick
>> things up through the examples if you are not already experienced with
>> the other topics. The example I mentioned to earlier incorporates
>> Struts 2 with Spring, JPA, a generic DAO setup, JSON, Struts 2
>> Conventions and JQuery. If you've never used JPA or Spring, there
>> would be quite a bit thrown at you in one example.
>> 
>> Depending on your goal, there are a few other routes you might want to
>> take before jumping into an advanced book. If you are looking to learn
>> more about Struts 2, my book is a follow-up to another book called
>> Struts 2 In Action that is a very well-written introduction and
>> reference on Struts 2 core topics. If you are already familiar with
>> Struts 2, but want to learn more about AJAX, then start by learning a
>> bit about JavaScript core and AJAX... Manning has another book
>> (http://manning.com/crane/) that has been a good seller for them.
>> 
>> My book isn't meant to be a reference only on Struts 2 and AJAX. It is
>> meant to give examples and best practices for integration with many of
>> the popular topics that come up on this list. Plus, it will give
>> examples on more advanced topics that haven't come up yet, but will
>> (OSGi?)
>> 
>> -Wes
>> 
>> 
>> -- 
>> Wes Wannemacher
>> Author - Struts 2 In Practice
>> Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
>> http://www.manning.com/wannemacher
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Any-hint-of-JQuery-on-struts2-tutorial%2C-thanks%21-tp23277517p23290342.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message