SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 406 | Next

Ola Bini

"Practical JRuby on Rails Web 2.0 Projects: Bringing Ruby on Rails to Java"

Currently there are a few areas
where it would be interesting to see some development, and these areas can also be a good
way of getting into direct development with JRuby. You can implement all the projects suggested
here in pure Ruby, but there are also areas where using Java and integrating directly
with the JRuby runtime can make the code easier.
I??™ll introduce three suggestions of home projects that you can use as a starting point for
your own JRuby work; these projects would all be highly useful, and I would love to see someone
contribute these back to JRuby-extras.
Database Indexing with Lucene
One of the best open source tools for handling text indexing and search is called Lucene.
A Ruby port for Lucene exists called Ferret; it??™s good and provides some nice features. In addition,
it has good performance because it??™s implemented in C. At the moment, if you need
searching for JRuby, you can use a pure Ruby project such as Hitta, or you can use Lucene
through the Java interface. However, it would be nice to take a project using Ferret and continue
to use the Ferret interface in the same way, only implement the operations using Lucene
instead. It wouldn??™t be a big project, because Ferret??™s API is based on Lucene??™s, but it would be
highly useful.
Several smaller projects are also based on Ferret. For example, an acts_as_ferret plug-in
for Rails exists, which handles indexing and searching of ActiveRecord models almost transparently.


Pages:
394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418