Practice exercises for learning jQuery [closed] - jquery-ui

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm picking up jQuery and jQuery UI and I would like some suggestions on some practice exercises for learning the libraries.
I'm particularly interested in Ajax and anything that might be a little bit .net centric.
I acknowledge that the jQuery web site has lots of simple examples showing how to use all the individual function calls, but I'm interested in seeing how they work with more practical examples.

Games are always fun. I wrote a chess game to learn jQuery AJAX programming, which was complicated but cool. If you're looking for something simpler, perhaps Tic-Tac-Toe would be a good choice.

Rading jquery official documentation, tutorials as well as deploying your own code, just start low and go slow, after all the bugs and doubts, tons of google searches and SO browsing you will be a guru. I think it is the best way, probably not the most productive. As someone said: the expert is one who had a lot of errors on the way and learnt from them.
So start coding now!
If you want ajax: search for getJSON() function first, I think it is the best step to start learing client-server interaction.
PS: also some good javascript book is also good for you, whiule jquery allow a big deal of abstraction it is still based on javascript.
If you still want some links, here you go:
Getting started with jquery
Jquery for beginners

A good way to pickup jQuery and AJAX is to just build websites. Setup a local web server with MAMP/WAMP/XAMPP and just start building / designing whatever kind of pages you want to.
If you're short on design inspiration, try to reverse engineer existing websites / web apps without looking at source code.

Something simple I used to do with dynamic code generation was to make an etch-a-sketch type page..
Make an X by X grid of pixel-like blocks, and give them all a hover effect of changing their color.. maybe change it each time it's hovered to something else.. play around with that concept a bit and add enhancements and features..

Related

Which web development framework is the right one for me? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm a college student trying to make a web community with friends. Although we are not experienced developers by any means, we have taken courses on JAVA and some web programming languages (PHP, JAVASCRIPT, CSS, HTML).
At this point, we need to decide on a web framework and begin learning. I have narrowed down my list to Ruby on Rails and Codeigniter, but I am really not sure why I should pick one over the other.
Thanks in advance.
Pick the one you want to learn and go with it.
I will personally recommend Rails because:
it teaches you a lot of best practices if you do things the Rails Way™
Ruby is a fun, easy-to-learn, expressive language
the community is really big, enthusiastic, and very helpful
there's great books and tutorials available all over the internet
There is nothing like the good framework. It highly depends on, in no particular order :
your skills
your tastes (Yes, it does matter a lot)
your willingness to learn
technical constraints. Your hosting company may support only Ruby or only PHP
...
I personally had the occasion to develop with CodeIgniter and I pretty much enjoyed it. It is light, well documented and leaves you with a lot of freedom.
I also have a good friend for whom Ruby On Rails is the only framework deserving the name of "framework".
If your project is ambitious, a good idea to make your point could be to make a trivial application like a TODO list with both framework and then pick the one that fits your need.
Hope this helps.
If there is no time constraint (as you need to learn both ruby lang and rails framework) and want to know the best practices, i would recommend RubyonRails.
If you have time constraint, then go ahead with Codeigniter. It is easy to learn and well documented.

I am having to improve my ASP.NET, should I just jump to MVC rather than Webforms? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I know many have asked the MVC vs Webforms question many times. My question is slightly different in that I am currently updating my skills from ASP.NET2/VB.NET to ASP.NET4/C#. I am seriously thinking that I should perhaps not waste time in upgrading my Webforms skills which are Okish, but instead put the effort into starting again with MVC. I keep looking at all the properties of ASP.NET server controls and sigh !!! I do see the benefit in just focussing on web technologies such as JS, CSS and now JQuery and CSS3.
I would be interested in your thoughts?
It sounds like you are doing a clean-slate here. You are changing languages and technologies. My advice would be to identify what you feel is the best technology going forward and learn that. You are already committing to learning something new - make it the most valuable experience you can make it.
From my perspective, I would recommend MVC. Personally I feel that this is the better platform to move forward on. You will have to add quite a few auxiliary skills such as Razor, JQuery and all the rest but it will be worth it. The bottom line though is that it is what is best for you. If your environment is better served by Webforms, then that is the best choice for you.
Six months ago I changed jobs. I was previously working at a large company that was still on .NET 2.0, VB.NET and ASP.NET WebForms. I now work at a company that uses .NET 4.0, C# and ASP.NET MVC3. So, I've been through this myself.
If you understand how the web works and want complete control over the client experience, MVC is the answer without a doubt. At my previous job I would end up pulling my hair out because I hated how WebForms prevented me from creating a page with clean markup. But, a lot of people don't know how HTTP, CSS, Javascript and HTML all fit together. WebForms was a solution to that. But, it's much more fun and performant to have complete control of what you sent to your customer/client.

ASP.NET MVC - Why should I bother? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
This isn't a troll, but a genuine question.
I've spent a lot of time writing 'regular' ASP.NET but I now feel compelled to ask, should I really worry about learning MVC? Or would I, given the news coming out of //build/, be better off learning XAML?
--
Curious of Grantham
To answer a question with a question - why wouldn't you learn it?
But more seriously - and apart from the fact that it is the new sexy and many shops and developers are trying to move towards it (which should be a good reason to learn it as well):
MVC is easier to test, since the UI and model are separated.
MVC keeps you closer to the HTML. Webforms is a very leaky abstraction. If you ever tried to interact with server side generated elements using javascript, you know part of what I am talking about.
Because ASP.Net MVC allows you to develop Web Applications without dealing with an artificial object oriented abstraction layer superimposed over the web that becomes a nuisance in practice the more complex your projects becomes.
I would definitely not paint myself into a corner and learn XAML only.
The pattern for MVC is a great pattern to learn and be aware of. The MVC pattern is a common pattern that is being used in more than just the .net world so adding it to your toolbox would be beneficial to you. If you don't want to continue learning new patterns and practices, then you might as well quit coding.
Mvc falls in line with the web paradigm and the stateless nature of http transactions.
Mvc allows you to write extremely clean and maintainable markup.
I switched because I am passionate about .NET technologies but I always thought web forms was a bit too bloated for most scenarios.
It's also hugely dependent on personal preference since you can achieve the same goals with web forms or MVC...
It's just cleaner and you don't wind up, up to your waist in work around webforms code to accomplish a simple task.
I mean it seems obvious to most programmers I talk to, but if you prefer webforms, then stick with that.

GWT, RoRails or Grails for a "Social Network" [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Am thinking about building a social networking site,that can function more like an application then a site,thus giving it better performance and user interface.
what am stuck up with here is which would be the best framework to try this out?
GWT-i have some experience(about 2 years) with Java and it looks easy but the forum appears dead.
Ruby on Rails- i visited the website today,went through a few tutorials and it looks easy to learn,but i never programmed on this 1 before.
Grails - i have heard that this is a very god framework and based on java,but i've never personally tried it.
What would you think would be the right choice?
it would be cool if you consider factors like performance,scalability and the widgets already available.I don't really care about the development time...i've got more than 2months!
Especially with a Java background, Grails would be a good choice. Grails is built on top of Spring and Hibernate, but makes using them much easier. No painful editing of XML config files.
Although, I'd make sure you evaluate using Ning and the existing open source projects before you bother building another one from scratch.
I'm not sure what you mean by "more like an application then a site". If what you mean is give the app a desktop application feel, then I think GWT fits more. Though if you want to have something really fast, (half the development time that you'd use to develop it in GWT), then I'd recommend rails. I haven't tried Grails before but it seems neat.
The best for you to use is ruby on rails if it about performance,scalability and the widgets
then you have no problem at all. It also has lots of gems/plugins that can help you so much
Read this book Grails in action.
It shows you how to make a social networking site using grails.
It uses an old version of Grails but you can adapt it.

What's a Good Resource for Learning XNA? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I've been considering experimenting with game development and XNA. I'm already an expert C/C++ programmer. I read through some C# books, but haven't done any development in C# yet.
What's a good resource for learning XNA, from the point of view of someone who's already an expert programmer?
I'll second reimers and the creators.xna.com samples as a good way to get a handle on how to quickly whip things up.
On the other side of the spectrum, I highly recommend Nick Gravelyn's Tile Engine tutorials. It's a different approach, as the entire series is presented in video. It seems like a great place for beginners to get started, though new coders might have a bit of trouble with his pace. Having said that, the section on the Content Pipeline (which is an XNA-specific implementation of the pipeline concept) is a good introduction.
Ziggyware also has a good selection of tutorials, some of which are more advanced.
Shawn Hargreaves, one of the XNA's devs, has a great blog that let's you in on the internals of XNA a little more. Check out the archive if there's a topic that interests you in particular.
This is good: http://www.riemers.net/, just keep in mind that navigation is through the bar on the right. I must have been tired because it took me a while to figure it out :-O
Check out the XNA homepage and the tutorials over there, under Community -> Resources. As an experienced programmer you should be able to take it from there.
For more in-depth infos browse the XNA Team's blogs, also linked from the XNA Creators page.
I would say that a library called XNA Debug Terminal should be of some help to you. It is open source and can be setup in seconds. It allows you to see the value of any variable, invoke any method, watch values changing in real-time, and more by simply typing c# code into a terminal-like display that appears atop your game window. Unlike the normal Visual Studio debugger, you can invoke arbitrary code while your game is running. You can find out more about this at http://www.protohacks.net/xna_debug_terminal . This will greatly help you to avoid a lot of frustration while learning XNA.

Resources