browse by tag: examples in language
sort by
CSS Star Rating System
in CSS added by admin, 1 day ago examples intermediate style
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 reportMore Scintilla in WxRuby
in Ruby added by prodevtips, 1 day ago examples intermediate oo programming wxruby
A discussion on custom key commands and custom behavior.
comment save reportStoring User Profiles
in .NET added by admin, on 9/3/2008 examples intermediate user
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 reportRegistration form with Merb and Datamapper
in Ruby added by prodevtips, on 27/2/2008 examples framework intermediate oo programming
How to setup a semi-advanced registration form with Merb and Datamapper with validators and stuff.
comment save reportRails Messaging Tutorial
in Ruby added by admin, on 26/2/2008 examples intermediate messaging
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 reportRuby Spin-up: Where Did That Method Come From?
in Ruby added by admin, on 28/1/2008 beginner tutorials examples oo programming
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 reportFinding Elements by Attributes in a DOM Document Using XPath
in Java added by admin, on 18/11/2007 advanced examples
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.
Creating a sorted Set
in Java added by admin, on 18/11/2007 beginner tutorials examples
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 reportBuilding Decision Trees in Python
in Python added by admin, on 29/10/2007 advanced classification examples
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 reportProgramming Crash Course
in Python added by admin, on 23/10/2007 beginner tutorials examples
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