Ruby / Rails

Best Programming Languages to Learn in 2021 for Web Development

Best languages to learn in 2021 for Web Development It might be a little redundant to specify that this article features languages employed in Web development since a lot of programming happens on that front these days. Nonetheless, if you're looking to discover the latest and greatest way to build self-learning AI robots, you may or may not find it here. (Take a look at...

An Introduction to Dynamic Language Support in JVM

JVM has been extended to support modern dynamic languages, also called scripting languages, since version 6. The release of Java 8 gave more impetus on this frontier. The necessity of this support is felt because Java as a language is inherently statically typed. Everything is decided at the compile time. The behavior of the dynamic language, on the other hand, is defined at runtime....

Domain-driven Design: Aggregates with Ruby

Introduction One of the hard things to do in designing software is creating a simple and useful model from the complex problem domain. In this article, I introduce methods to facilitate the distilling of domain knowledge to solve complex domain problems. A Domain Model can contain a large number of domain objects (entities, value objects, and so forth). No matter how much time we spend modeling...

What Is Full Stack Development?

What is a full stack engineer when you boil it down to its essence? If you're someone already in the community, visualize the vast number of people who bandy this term around. Truthfully, "what is a full stack engineer" is a very difficult question to answer because it's a term that has been used for years by engineers of varying skill levels to mean...

Comparing 3 Common NoSQL Databases

NoSQL Databases is a relatively new genre of databases. NoSQL does not imply no SQL at all. In fact, most NoSQL databases support an SQL-like query language. NoSQL is for Not Only SQL. NoSQL databases differ from relational databases (RDBMS) in that they are based on a flexible schema (or schema-free) data model. A relational database such as Oracle database or MySQL database has...

Explore Scripting in Java

One of the interesting API features included from Java 6 and its later version is the javax.script package. Developers now can literally embed a scripting language into a Java application. This feature opened a new horizon of application development because the handshake between scripting and core Java may not have been the forefront requirement but nonetheless added another feature to the flow of application...

Implement User Authentication in Ruby with Sinatra

Content and profile customization is a central part of any website's success, yet implementing even basic authentication- and profile-related features can be incredibly tedious and time consuming. In recent years the various development communities have responded by implementing pluggable authentication extensions which in many cases provide all of the necessary functionality right out of the box. The Ruby community has been particularly strong in...

Meet DataMapper ORM, the Unified Ruby Interface for Data Stores

The ability to stay "in the zone" is a crucial characteristic of any productive developer, with the tiniest distraction capable of making mincemeat out of an otherwise successful workday. The oft-discussed distraction is external, the result of an unusually talkative colleague or passing fire engine. However, internal distractions are equally plentiful. One of the most notable distractions occurs when the developer is forced to...

Building an Ajax-friendly REST API with Sinatra

REST offers a powerful approach to building Web applications which allow you to quickly and easily define all of the routes used to interact with a particular application resource. So how does one go about actually implementing a RESTful approach? As it happens, many Web development technologies support REST, among them Rails, the Zend Framework, and Spring. But when it comes to building an API,...

Rails 3.1 Nears Delivery

The open source Ruby on Rails community is gearing up for their next major release. This week Rails 3.1 was released as a release candidate, debuting new features for streaming, JavaScript integration and security. Rails 3.1 is the first major update to Rails since the 3.0 release in summer of 2010. "There is some very important stuff in Rails 3.1," Nic Williams, VP of technology at...

Latest Articles