Similar initiatives include IronLisp and IronRuby.
Ruby
Created mid 1990s
By Yukihiro "Matz" Matsumoto
General purpose
Multi-paradigm programming environment
Functional
Object Oriented (Many ideas from Perl and Smalltalk)
Ruby On Rails: Created 2004
Complete web application development framework
Consists of several packages
ActiveRecord – Object Relational mapping
Ruby: The $Order Test
a = {} # A hash
a["c"]="record c"
a["b"]="record b"
a["a"]="record a"
a.each {
|key, value|
puts “<br>#{key} = #{value}”
}
Ruby on Rails
“ Ruby on Rails is an open source web framework that's optimized for programmer happiness and sustainable productivity. It lets you write beautiful code by favoring convention over configuration.”
Ruby: Frameworks and other developments
JRuby
Java implementation of Ruby interpreter
IronRuby
Ruby for .NET.
Implemented on Dynamic Runtime Library (DLR) layered over Common Language Runtime (CLR)
Ramaze
Lightweight option
Camping
Perl
Created 1987
By Larry Wall
General purpose scripting language
Emphasis on text processing
Suited to the needs of web programming
DBI (Database Interface) modules
Perl: The $Order Test
## Set up associative array
$a{"c"}="record c";
$a{"b"}="record b";
$a{"a"}="record a";
foreach $key (sort keys %a) {
print "<br>$key = $a{$key}";
}
Perl: Frameworks
LAMP “solution stack”
Linux, Apache, MySQL, Perl (or one of the other “3 Ps”)
Mason
Catalyst
Many others
CSP & WebLink
WebLink (1996) succeeded by CSP (~2000)
Implemented over CGI and Web Server APIs
Proxy to Caché
Responses generated entirely in Caché
WebLink
M based. Support for legacy M systems
CSP
Close coupling with Caché Objects and Development environment
CSP & WebLink: Particular highlights
Support for state-aware sessions
Migration of legacy M/Caché code to the web
CSP equivalent: Preserve mode 1
WebLink Event Broker (1998)
Early incarnation of AJAX-like techniques
A “first” for InterSystems
In-form scriptable communication with server
Initially Java applet based; then XMLHTTP
CSP equivalent: Hyperevents
CSP & WebLink: Development Frameworks
WebLink Developer (WLD)
Code generator for WebLink applications
Run-time environment to support applications and security.
Precursor to Zen and EWD
CSP Zen
Developer focused environment
Enterprise Web Developer (EWD)
Designer focused environment
Reaches out to legacy WebLink/WLD applications
WebLink/CSP vs. The rest
Non CSP/WebLink environments
Requests processed and responses generated on web server host
Possible multiple round trips to database
Will need to increase capacity of web server tier sooner
Load-Balancing techniques
WebLink/CSP vs. The rest
CSP/WebLink
Web server extension as intelligent proxy/router
Requests and complete response generated in Caché
Single round trip to database per request/response cycle
Integrated scripting environment and database ideal for web application run-time environment
Better performance/throughput per web server
MGWSI Gateway: Connecting all environments to Cache
Uniform/Normalized interface to Caché
Underpins Enterprise Web Developer (EWD)
Currently supported:
PHP (m_php)
JSP (m_jsp)
ASP.NET (m_aspx)
To be released shortly:
Ruby (m_ruby)
Python (m_python)
Future support anticipated:
Perl (m_perl)
www.mgateway.com
Conclusion
Note developments in service providers
Keep eye on trends in all web development technologies.
Don’t be afraid to evaluate lesser known technologies provided … there is a vibrant community supporting them.
0 comments
Post a comment