CSC/ECE 517 Fall 2013/ch1 1w24 nv: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
* [https://www.ruby-toolbox.com/projects/activerecord-jdbc-adapter '''activerecord-jdbc-adapter'''] AR-JDBC is a database adapter for Rails' ActiveRecord component designed to be used with JRuby built upon Java's JDBC API for database access. It allows to connect to virtually any JDBC-compliant database with your JRuby on Rails application.
* [https://www.ruby-toolbox.com/projects/activerecord-jdbc-adapter '''activerecord-jdbc-adapter'''] AR-JDBC is a database adapter for Rails' ActiveRecord component designed to be used with JRuby built upon Java's JDBC API for database access. It allows to connect to virtually any JDBC-compliant database with your JRuby on Rails application.


* [https://www.ruby-toolbox.com/projects/activerecord-nulldb-adapter '''nulldb'''] A database backend that translates database interactions into no-ops. Using NullDB enables you to test your model business logic - without ever touching a real database..
* [https://www.ruby-toolbox.com/projects/activerecord-nulldb-adapter '''nulldb'''] A database backend that translates database interactions into no-ops. Using NullDB enables you to test your model business logic - without ever touching a real database.
 
* [https://www.ruby-toolbox.com/projects/oracle-enhanced-enhanced '''oracle-enhanced-enhanced'''] It includes several enhancements and customization to the standard ActiveRecord Oracle Enhanced adapter, which is still required. Any customization to this adapter's behavior or additional Oracle-specific utilities should be added here.
 
* Other useful Ruby Gems here. [https://www.ruby-toolbox.com/projects/activerecord-sqlserver-adapter '''activerecord-sqlserver-adapter'''], [https://www.ruby-toolbox.com/projects/activerecord-jdbcmysql-adapter '''activerecord-jdbcmysql-adapter'''], [https://www.ruby-toolbox.com/projects/activerecord-jdbcpostgresql-adapter '''activerecord-jdbcpostgresql-adapter'''], [https://www.ruby-toolbox.com/projects/activerecord-jdbcderby-adapter '''activerecord-jdbcderby-adapter'''],.
 
 




'''Data Persistence'''
'''Data Persistence'''

Revision as of 04:20, 14 September 2013

A Tour of Ruby Gems


Some important Gems that are useful in RAILS environment

There are many gems which provide easy of functionality that can be included in the rails development environment. Bundleris a useful gem that enables a developer to quickly add and manage gems in a few lines of code.

We can classify the Gems based on the usage in different layers Model, View and Controller.

MODEL layer

Active Record Plugins

  • oracle-enhanced Oracle "enhanced" ActiveRecord adapter contains useful additional methods for working with new and legacy Oracle databases. This adapter is superset of original ActiveRecord Oracle adapter.
  • activerecord-jdbc-adapter AR-JDBC is a database adapter for Rails' ActiveRecord component designed to be used with JRuby built upon Java's JDBC API for database access. It allows to connect to virtually any JDBC-compliant database with your JRuby on Rails application.
  • nulldb A database backend that translates database interactions into no-ops. Using NullDB enables you to test your model business logic - without ever touching a real database.
  • oracle-enhanced-enhanced It includes several enhancements and customization to the standard ActiveRecord Oracle Enhanced adapter, which is still required. Any customization to this adapter's behavior or additional Oracle-specific utilities should be added here.



Data Persistence