× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The early stuff that was Freemarker template based can be found here:
http://www.asaap.com/asaap3/ASAAP Log in with user ID 10123 and password of 1234 .This is the demo site for my Absence Management App written circa 2005-2007

The later stuff that uses jQuery and JSON can be found here:
http://www.asaap.com/asaapwm/ASAAPWM Log in with the User ID of 30123 and password of 1234. This application uses jqGrid extensively and other jQuery plugins (dates, populate, verification, etc).

Actually some of that jQuery/JSON is creeping into the earlier application as I make modifications and updates.

They basically have the same look and feel but the Administration portal, which is more recent, uses jQuery/JSON. Both apps are based on an existing green screen application I wrote back in 1995/1996. In fact, they use the same DB2 database as the Green Screen apps do which allows my existing customers to move to the web as they want to.

Pete Helgren
Value Added Software, Inc
www.asaap.com
www.opensource4i.com


On 2/1/2011 11:43 AM, Richard Schoen wrote:
That has generally morphed into using jQuery and JSON with my Java servlets (and occasionally RPG) delivering the json to the client. It is just so drop dead easy to develop using jQuery and associated plug-ins that I have pretty much abandoned my template based methods.
What kind of jQuery stuff are you doing ?

Any live examples ?

Regards,
Richard Schoen
RJS Software Systems Inc.
Where Information Meets Innovation
Document Management, Workflow, Report Delivery, Forms and Business Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site: http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT

------------------------------

message: 5
date: Mon, 31 Jan 2011 12:34:42 -0700
from: Pete Helgren<pete@xxxxxxxxxx>
subject: Re: [WEB400] Rails Development Environment

Well, I don't do much .jsp OR PHP development (none lately). My original Web stuff was Java servlets using Freemarker templates which was a very easy transition from the RPG 5250 model I was (and am) used to. That has generally morphed into using jQuery and JSON with my Java servlets (and occasionally RPG) delivering the json to the client. It is just so drop dead easy to develop using jQuery and associated plug-ins that I have pretty much abandoned my template based methods.

Ruby and Rails has it's own challenges. My first foray into Rails was in search of the holy grail of CRUD apps - A couple of steps and, voila!
a file maintenance app (yeah....right!) Active Scaffold helped a lot but Rails 3 has changed the paradigm a bit and I have been struggling with new learning curve primarily because some of the "pieces" in Rails have been unbundled in Rails 3 so you have greater control but need to manually do more things. I will be presenting again at Common and hope to have a useful demo app for both web and mobile using Rails on i. DB access is the biggest wildcard. If you want "native" I/O you need to use the DB2 Connector ($$) with the rails DB2 gem and it still isn't really "native". You could use MySQL on i as an alternative. I switched to using JRuby because I can use the JDBC adapter in the JT400 toolkit. It is 100% compatible with Ruby and 100% compatible with Java so you can include Java elements in your app if you want. The Radiant CMS at http://www.roroni.com is a Rails app running on jRuby on i (using the Glassfish gem as the app server). It is connected to the DB2 for !
i database using JDBC. The DB is native and was created with the standard Rake migrate command common to all Rails apps.

Ruby on Rails is simple to use and install. I love the gem command and there are hundreds of tools and plug ins that can deliver out of the box functionality for your web apps (it is much like PHP in this respect).
Language syntax is VERY different and takes some mind bending turns for us procedural folks (even when we have quite a bit of OO experience).
If you are an experienced i developer and comfortable with PHP, I don't think RoR brings all that much to the table (that is spoken by a relatively inexperienced PHP guy...).

My bread and butter apps are java servlet backends with jQuery and JSON but that is only because I have an application suite that runs on both i (using DB2 for i) and Windows (using MS SQL server). When my first Linux customer appears, I'll be ready for that as well. I plan to use Rails for updates to my company web sites and will probably use Refinery or Radiant as my CMS to manage the sites. Hope to have it all ready by Common.

Pete Helgren
Value Added Software, Inc
www.asaap.com
www.opensource4i.com


On 1/31/2011 11:02 AM, Richard Schoen wrote:
Thanks Pete,

Just curious. In your opinion how does Rails stack up against JSP or PHP for web dev ?

Regards,
Richard Schoen
RJS Software Systems Inc.
Where Information Meets Innovation
Document Management, Workflow, Report Delivery, Forms and Business
Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site: http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT
------------------------------

message: 3
date: Sun, 30 Jan 2011 14:15:36 -0700
from: Pete Helgren<pete@xxxxxxxxxx>
subject: Re: [WEB400] Rails Development Environment

Richard,

Aptana Radrails 2 is what I use.

Pete Helgren
Value Added Software, Inc
www.asaap.com
www.opensource4i.com




------------------------------

--
This is the Web Enabling the AS400 / iSeries (WEB400) digest list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.



End of WEB400 Digest, Vol 9, Issue 46
*************************************




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.