Showing posts with label EGL. Show all posts
Showing posts with label EGL. Show all posts

Monday, 28 March 2011

EGL Video Demos Part 4

EGL Modernization Demo - Creating iPhone Application

EGL Video Demos Part 3

EGL Modernization Demo - Modernizing iSeries Boats Application

EGL Video Demo Part 2

EGL Modernization Demo - Modernizing iSeries CellDail Application

EGL Video Demos Part 1

EGL Modernization Demo - Modernizing iSeries Flight400 Application.

EGL Video Tutorials

I am creating EGL Video Tutorial for newbies to quick learn IBM's Enterprise Generation Language (EGL).

First I am casting few EGL demos to present some of the cool EGL features.

In these demos some of the RPG programs existing on the IBM's iSeries machine are modernized using EGL.


Friday, 18 March 2011

EGL Best Practices

Best performance practices for Java run time are:
  • Use string type for all text
  • Do not use structured records (records with a fixed storage layout)


Best performance practices for COBOL

  • Use char or mbChar text type for applications used with a single national language or Unicode text type for multinational applications
  • Use static, fixed length arrays in structured records
  • Do not use libraries for small functions that are frequently invoked

Performance practices common to all run time environments:

  • Use libraries instead of called programs for shared subroutines
  • If your application needs to access several fields in a record in a dynamic array, copy the record to a single record variable rather than referencing individual record fields with an array index.

Tuesday, 13 October 2009

How to add a simple Google Maps

During working on EGL Web 2.0 I had a need to add a Google map on a RUI page. Well, I found a very simple & an interesting way to add a Google map onto your web page without any understanding of Google Map API or don't even have to sign up for an API key.

Google helps you by providing a Wizard through which it generates a chuck of code to use in a page.

Through Wizard, there are three steps to add a Google Map onto a page.
  1. Go to the Wizard page and follow the three simple steps.
  2. Copy and paste the generated code into your own web page.

    Cut the code into two pieces. The bit that looks something like this can be placed anywhere on your page.

    <div id="mapsearch">
    <span style="margin:10px;padding:4px;">Loading...</span>
    </div>

    The rest of the code should be placed just before the at the bottom of your page.

  3. Double-click your page to test it, then upload it to your website.
The page will be look like this












There is another more simpler way than this one is to go to http://maps.google.com/ site and search/locate you desired location, when the map comes up then go to the Link anchor ( Link) on the right side of the map, click on it & copy the "Paste HTML to embed in website" to use in a web page or copy the "Paste link in email or IM" to share map via email or IM.

The map would look like the below one.

Thursday, 8 October 2009

Enterprise Generation Language

EGL (Enterprise Generation Language) is a high level, modern business oriented programming language, designed by IBM to be platform independent. EGL is similar in syntax to other common languages so it can be learned by application developers with similar previous programming background. EGL application development abstractions shield programmers from the technical interfaces of systems and middleware allowing them to focus on building business functionality. EGL applications and services are written, tested and debugged at the EGL source level, and once they are satisfactorily functionally tested they can be compiled into COBOL, Java, or JavaScript code to support deployment of business applications that can run in any of the following environments:
  • Microsoft Windows, Linux, UNIX running JVM, for example in the context of a Java EE servlet container (IBM WebSphere Application Server, Apache Tomcat, GlassFish)
  • IBM System z: CICS Transaction Server, IMS, z/OS Batch, UNIX System Services, WebSphere Application Server, z/VSE, Linux
  • IBM System i: IBM i5/OS, IBM WebSphere Application Server
  • Internet Explorer, Firefox, Safari browsers for Ajax rich web applications.
Web 2.0 & SOA are built-in in EGL, it simplifies development by hiding the complexities of Ajax, JavaScript, Rest, and SOAP from the developer.

EGL programming tools are available as an Eclipse
EGL community site is very useful site to learn, discuss, ask, answer & share info & issues.