browse by tag: examples in language
Recently I had to create a Star Rating system for a client so I thought I'd share with you the techniques I used to accomplish this. If you are not familiar with a Star Rating System, it's simply a method of voting using (usually) 5 stars in a row, which will change colour as you hover over them indicating the level at which to rate something.comment save report are you sure? yes no
User Profiles - The profile feature in ASP.NET 2.0 allows you to define and store per-user settings to be used throughout your application. Settings can also be stored in an anonymous profile while users are not logged in, and then migrated to a logged-in user profile at a later time.comment save report are you sure? yes no
This guide aims to be a simple, logical tutorial showing how to develop a simple Rails messaging system with all of the trimmings with Ruby on Rails (v2.0.2). This tutorial is intended for beginner to intermediate Rails users. If you've never used Rails before, I suggest you check out any of the excellent introductions out there.comment save report are you sure? yes no
A tutorial that gives a nice background on some object-oriented thinking in Ruby, including classes, superclasses, modules, and singleton methods. It's a straightforward tutorial aimed at those who have gotten their feet wet in Ruby, but not the object-oriented aspects of Ruby.comment save report are you sure? yes no
XPath is an expression language for selecting nodes in an XML file. This example adds to those examples by demonstrating the ability to select elements based on their attributes.
This example demonstrates some common uses of expressions that use attributes; for more information on XPath, see the specification at http://www.w3c.org/TR/xpath. In the example, the result of an XPath expression is shown next to the expression; the numbers are ids of elements in the sample file shown at the end of the example.
A sorted set is a set that maintains its items in a sorted order. Inserts and retrievals are more expensive in a sorted set but iterations over the set is always in order.comment save report are you sure? yes no
You have a great idea to start selling the most marvelous widget ever known. You're so sure of your enterprising idea that you decide to go into business for yourself and begin manufacturing said widgets. A few years pass and you're a success. However, lately you've noticed a slump in sales, and you decide that you need a better way of focusing your marketing dollars toward your target audience. How do you do this?comment save report are you sure? yes no
If you are an absolute beginner or a novice in programming this site was made for you. In this tutorial you will learn how to program a computer the quick way. No long explanations. I will just show you how to do it and you will do it yourself. From the very beginning step by step.comment save report are you sure? yes no