Archive for 02:49 PM

3

COMMENTS

How to implement a viewing system in Rails

Hello everyone.

Today I will show how to implement a viewing system for any model of your Rails application.

Suppose we have a model News and we would like to keep track of how many times a single news has been displayed, in order to implement box like “the most ‘seen’” etc..

Suppose we have a model News [...]


GO
1

COMMENTS

System Information application for Nokia S60v5 phones

SystemProperties is a J2ME Midlet implemented by DevInterface, which provides HW/SW information for Nokia S60 devices.
SystemProperties is available for devices based on Symbian S60v5 operating system.
The following information are given by SystemProperties:
- Free RAM Memory
- Video Capture Support
- Battery Level
- Phone’s IMEI
- MicroEdition Platform
- Network Availability
- Signal Strength
To download SystemProperties as an Eclispe’s project, use [...]

GO
2

COMMENTS

LINQ: serialize C# classes

The version 3.5 of Microsoft’s .NET Framework introudced the LINQ (Language Integrated Query).component.
LINQ is a SQL-like language that allows to query different source of data, as objects, xml files and databases.
What i’ll show today is how to generate an xml rappresentation of a C# class instance..
Suppose to have a C# class Book so [...]

GO
1

COMMENTS

Rails Authlogic + Subdomain_fu Template

The second free Rails startup skeleton written by DevInterface and releases under Rails MIT license is Rails Authlogic + Subdomain_fu Template.

Rails Authlogic + Subdomain_fu Template

This template works as a skeleton for any new Rails application (using Rails 2.3) that aims to provide authentication with subdomain support.

To install and run this template perform following actions:

12345git clone [...]


GO

Copyright 2012 DevInterface s.n.c.

DevInterface Blog is proudly powered by WordPress