How to properly use clean URLs - clean-urls

I really want to learn how to use clean URLs but I'm unsure how it all works. I have read a couple tutorials and watched some YouTube videos but they seemed very different from each other. Is there a right/wrong way to do it? Thanks.

An excellent post on A List-Apart:
How to Succeed With URLs

Related

Advanced Ajax with RoR and jQuery UI

I don't have much web development practical experience although I had studied a lot on the web (Treehouse, CodeSchool, other tutorials and articles).
I have found some explanations on how to use Ajax with RoR and jQuery. But I'm having difficulties to understand how to solve my problem as the explanations often use jquery-ujs that I suppose I can't use in my case.
My problem is difficult to explain here but is similar to implementing this shopping cart on RoR, including more parameters like price
The jQuery UI is working for me in my RoR application. What is missing is the AJAX part and how to make it work with RoR
I have found some questions here on StackOverflow that is about this topic but it didn't helped much as they are probably for more advanced users.
So, I believe that the best help would be a tutorial or book or some other reference that is more similar to my problem. However any advice or other kind of directions may help
After struggling a lot, finally I solved my problem.
I will post here the resources and some tricks that helped me. I hope it can help others. StackOverflow didn't let me post all the links. For this reason, I just gave some hints that may help to find some resources.
About the jQuery Ajax concepts, I recommend Code School jquery course "The Return Flight".
The second thing that I think helps is learn to debug. Firebug helped me a log to debug the client side/javascript/Ajax. This link may help on that:
http://www.zyxware.com/articles/2642/debugging-tips-how-to-debug-ajax-requests-using-mozilla-firefox-and-firebug
Since the problem may be to debug RoR. Look for a RailCast on the subject.
One of the things that I took some time is if it would be better to use $.ajax(), $.post(), $.get() or $.getJSON(). The link below may explain better but to sum it up, $.ajax() is the more generic one and the other are simpler ones and that call $.ajax() with specific parameters.
Difference between $.post and $.ajax?
It is important to understand how RoR routing works to call the right url with the right $.ajax() type. "rake routes" may help.
This link may also help to use the right $.ajax() type.
http://old.thoughtsincomputation.com/posts/understanding-rest-in-rails-3
Finally, to send the right format from the javascript to RoR controller, this link may help:
How to send and store data to rails through jquery/ajax as a JSON object?

Does anyone know a better alternative to Google Translate API?

I already did similar search terms for this topic in this forum.
https://stackoverflow.com/questions/6151668/alternative-to-google-translate-api
But that post is a bit old.. Things may have changed for about a year. And I wonder does anybody know if there's any better REST-based API service that I can use out there since that post was last posted.
Thanks.
I guess Bing translator could be the substitute that u are looking for.
I was looking for alternatives as well and came across a npm package called google-translate-api-browser which does work for my small project, but I can't assure big data translations or requests not being throttled

Google GData YouTube API, Search?

I have been trawling through all I can to do with the Google GData YouTube API and its doing nothing but hurting my brain, Google do not make it clear to learn and there seesm to be little content online about it (Objective-C iOS, Mac).
I just want to achieve one of the most simply tasks, search YouTube, getting thumbnails, descriptions, titles etc for the search results. If you can help with this I would appreciate it. I am unsure of where to start.
Alternatively if you can recommend some good resources for learning the API I'd appreciate it, thanks.
The YouTubeSample app would be the most straightforward example. You would need to first read and understand the API library documentation.

Good sites for website background patterns

What sites do you guys use for background patterns? The best I found so far is http://www.noupe.com/design/80-stunning-background-patterns-for-your-websites.html
http://www.noupe.com/freebie/the-big-collection-of-free-design-textures.html
Just wondering what other sources you guys use. I think this should be community wiki but I am really new and don't know how that works :(
Just stumbled upon http://www.backgroundlabs.com/

Easiest way of finding photos with no tags using the Flickr API

I'm working on a small project to help me tag content on Flickr.
I've been looking through the API and there's obvious ways to search for tagged content, but not a simple way of finding what content hasn't been tagged (without just looping through image ID's till I find one with no tag).
Has anyone come across this in the past and found an easy work around?
Cheers
flickr.photos.getUntagged will do that for your own photos. I'm pretty sure that there's no way to do it for more general searches, other than brute force.