Sunday, July 5, 2009

Fat Free CRM

Fat Free CRM is open source Ruby on Rails-based customer relationship management platform. Out of the box it features group collaboration through task assignments, campaign and lead management, contact lists, and opportunity tracking.

My thanks go to early adopters, beta testers, and open source enthusiasts for overwhelming positive feedback, words of encouragement, and inspiration. Keep your ideas coming!

The project goal is to spur CRM innovation by providing clean solid codebase that can be easily extended and customized by developers. So check it out and fork away!

http://www.fatfreecrm.com

Thursday, July 2, 2009

MongoDB

The best features of key/values stores, document databases and RDBMSes in one.

MongoDB is a high-performance, open source, schema-free document-oriented database. MongoDB is written in C++ and offers the following features:

  • Collection oriented storage - easy storage of object-style data
  • Dynamic queries
  • Full index support, including on inner objects
  • Query profiling
  • Replication and fail-over support
  • Efficient storage of binary data including large objects (e.g. videos)
  • Auto-sharding for cloud-level scalability (Q209)

A key goal of MongoDB is to bridge the gap between key/value stores (which are fast and highly scalable) and traditional RDBMS systems (which are deep in functionality).

Quick Links
Support
Info
Languages

Use tmail and IMAP to save attachments

#! /usr/bin/ruby

require 'net/imap'
# This is a convenience monkey patch
class Net::IMAP
def uid_move(uid, mailbox)
uid_copy(uid, mailbox)
uid_store(uid, "+FLAGS", [:Deleted])
end
end
require 'rubygems'
require 'tmail'

imap = Net::IMAP.new('mail.example.com')
imap.login("user", "password")
imap.select('Inbox')

imap.uid_search(["SUBJECT", "order mail"]).each do |uid|
# save_attachment
mail = TMail::Mail.parse( imap.uid_fetch(uid, 'RFC822').first.attr['RFC822'] )
if ! mail.attachments.blank?
File.open(mail.attachments.first.original_filename,"w+") { |local_file|
local_file << mail.attachments.first.gets(nil)
}
end

# archive mail to mailbox
imap.uid_move(uid, 'Inbox.archived')
end

imap.expunge
imap.logout
http://snippets.dzone.com/posts/show/7530

LESS - Leaner CSS

Less is Leaner css. Less extends css by adding: variables, mixins, operations and nested rules.

Less uses existing css syntax. This means you can migrate your current .css files to .less in seconds, with virtually no learning curve.

Get LESS

The Less Ruby gem compiles Less code to css. We recommend Ruby 1.9. To install:

sudo gem install less
Once installed, you can compile .less files to .css with the following command:

$ lessc style.less

Using Rails? get the plugin. For more info, check out the docs.

http://lesscss.org/index.html

Hirb

Hirb currently provides a mini view framework for console applications, designed to improve irb’s default output. Hirb improves console output by providing a smart pager and auto-formatting output. The smart pager detects when an output exceeds a screenful and thus only pages output as needed. Auto-formatting adds a view to an output’s class. This is helpful in separating views from content (MVC anyone?). The framework encourages reusing views by letting you package them in classes and associate them with any number of output classes. Hirb comes with tree views (see Hirb::Helpers::Tree) and table views (see Hirb::Helpers::Table). By default Hirb displays Rails’ model classes as tables. Hirb also sports a nice selection menu, Hirb::Menu.

http://tagaholic.me/hirb/doc/index.html
http://tagaholic.me/hirb/

Wednesday, July 1, 2009

10 Impressive JavaScript Animation Frameworks

Complex and slick JavaScript-based animation has been made easier with the emergence of frameworks and libraries that give developers the ability to create stunning and eye-grabbing animation and transition effects that make it easy these complex tasks.

In this article, you will read about the top 10 JavaScript-based animation frameworks and libraries that will enable you to create engaging and captivating user experiences.

1. $fx

$fx

$fx is a compact and lightweight JavaScript animation library which extends native JavaScript DOM methods with its own animation methods and functions. Its small file size (weighing in at only 3.7 KB), hassle-free implementation, and low learning curve makes $fx a powerful option for adding eye-popping animation effects to your web projects. Check out the Examples section on the Manuals page to see the library in action.

2. jsAnim

jsAnim

Created by web developer Kevin Dolan, jsAnim is a JavaScript animation framework for creating high-impact and slick animation sequences for web interfaces. Crafted with standards and best practices in mind, jsAnim allows you to create stunning animation effects without sacrificing web accessibility of your web projects.

3. scripty2

scripty2

scripty2 is a flexible and lightweight JavaScript animation framework for developing delicious visual effects. The project is still young (alpha), but you can already see its impressive capabilities in the scripty2 demo page which shows examples that rival Flash-based objects in smooth, seamless, and complex animations.

4. GX

GX

GX, developed by Italian web developer Riccardo Degni, is a compact (10KB uncompressed animation effects library that puts strict web standards and best practices at the forefront of its development philosophy. Built on top of jQuery, but heavily influenced by MooTools development patterns, you can customize your GX download to include only the parts you need, making your scripts optimized for file size. Check out the GX Demos to see its capabilities.

5. Glimmer

Glimmer

Glimmer is a framework for easily creating interactive elements on your web pages. Glimmer comes with wizards GUIs, reducing your coding requirements and guaranteeing standardization across your projects. Check out the Image-Sequencer demo to see Glimmer’s animation capabilities. It’s written on top of the popular jQuery library.

6. Animator.js

Animator.js

Animator.js is a class-based way for implementing JavaScript-based animation effects. Its design and development principles follow OOAD, which promotes maintainable and high-lifetime development of applications. Thus, it syntax is prototypal and object-oriented, reminiscent of MooTools and Prototype.js syntax.

7. Scriptio

Scriptio

Scriptio is an open source framework for animation and presentational elements to enhance and enrich the learner’s web experience. Scriptio is easy to learn and its terse syntax makes it great for fast prototyping. View the Scriptio Examples page where you will find eight cool demos that exemplify this framework’s abilities.

8. Processing.js

Processing.js

Processing.js is a fully featured framework for scripting images, animation, and interaction developed by jQuery library creator, John Resig. Processing.js is a JavaScript port of the open source Processing project. You should check out the Exhibits page to see full-production implementations of Processing.js.

9. Run

Run

For developers looking for a simple means of animating content, Run, a universal JavaScript animation framework, is the definitive way to go. Run emphasizes on ease-of-use as shown by its intuitive syntax and copious amounts of documentation. Run has also been tested on a wide array of web browsers, ensuring utmost cross-browser compatibility. Head over to Run’s Example page to see the project in action.

10. Burst Engine

Burst Engine

Burst Engine is an open source vector animation framework for HTML 5’s Canvas element. Burst provides smooth, slick, and complex animations that will surely leave a memorable impression upon viewers. To see Burst in action, check out the 3D Engine demo (and prepare to get very impressed).

http://sixrevisions.com/javascript/10-impressive-javascript-animation-frameworks/

XRegExp

What is it?

XRegExp is an open source (MIT license) JavaScript library that provides an augmented, extensible, cross-browser implementation of regular expressions, including support for additional syntax, flags, and methods.

XRegExp is fully compliant with the regular expression flavor specified in ECMA-262 Edition 3 (ES3), and has been tested with Internet Explorer 5.5–8, Firefox 2–3.5, Safari 3–4, Chrome 1–2, and Opera 9. XRegExp uses feature detection—no browser sniffing.

Features

http://xregexp.com/