Archive

Archive for October, 2011

midrange.com - In My Humble Opinion › We’re Number 2!

October 31st, 2011 Comments off
For some reason that just doesn’t have the right ring to it … oh well. None the less, this blog has been listed as number two in The Four Hundred’s “Best i Blog Bets: A Top 10 List” (by Alex Woodie). This seems to be the month for honors and recognition.  



Read the original at midrange.com - In My Humble Opinion.

Categories: Blogs Tags:

ile rpg programming: tips and techniques › Using timestamp fields

October 31st, 2011 Comments off
The Timestamp built-in function came about in V5R1.  It can be expressed with separators (*ISO) or without (*ISO0).    The format of a timestamp field is...

Visit site to read full content and more



Read the original at ile rpg programming: tips and techniques.

Categories: Blogs Tags:

Alan Seiden's PHP and IBM i Resources › Zend/PHP 2011 Photos, Part 1 (IBM i)

October 31st, 2011 Comments off

IBM i had a solid presence at ZendCon, the Zend/PHP conference. IBM itself was a sponsor and staffed a booth (Tim Rowe and Tony Cairns). Here are a few photos from the conference. I’ll post more when I get time.

IBM i for Business / PHP pin

PHP/IBM i pin given out at IBM booth at ZendCon 2011

Chris Pharo from CrossPointe LLC's UnCon presentation showing green screen and PHP webified version

Chris Pharo from Crosspointe, LLC, demonstrating how their "TERMS 2020" school district ERP package evolved from a green screen interface to PHP/web, all on IBM i

Alan Seiden with elePHPant at ZendCon 2011

Alan with elePHPant


Read the original at Alan Seiden's PHP and IBM i Resources.

Categories: Blogs Tags: , , , , , , ,

Alan Seiden's PHP and IBM i Resources › Zend Framework DB2 adapter for IBM i

October 30th, 2011 Comments off

I recently received a question about how to use DB2 with Zend Framework on IBM i. Thomas wrote:

I would like to start with Zend Framework on i5 [IBM i] with Zend Server and ZF’s DB2 database adapter. I got this error message:
Qualified object name SYSCOLUMNS not valid. SQLCODE=-5016

I told Thomas about an improved DB2 adapter, optimized for IBM i, that I’d created in cooperation with Zend. Its usage is explained in my presentation, “From Zero to ZF,” on my Presentations page: http://www.alanseiden.com/presentations/.

Thomas wrote back to say this adapter worked perfectly for him, eliminating the error and improving performance. I believe this DB2 adapter (or something similar) will eventually be included with Zend Framework 2.0, but until then, it works well as a custom adapter.


Read the original at Alan Seiden's PHP and IBM i Resources.

Young i Perspectives › PostGreSQL Ported to IBM i

October 29th, 2011 Comments off

Thanks to the handy work of Ryan Watkins (IBM) we now have PostGreSQL ported to IBM i.  You can learn more about this port at http://youngiprofessionals.com/wiki/Databases/PostgreSQL

This is great news because it makes IBM i potentially useful to a whole new crowd of application developers.

Let me paint a picture in your mind: Imagine a world where anybody (high school grad, college student, 1st year professional, 30yr professional, SMB) could spin up an IBM i instance “in the cloud” in a few minutes and test out it’s capabilities.  Imagine that the IBM i instance was pre-loaded with all the software necessary to meet a particular development need (i.e. PostGreSQL/PHP/ZendServer, Java/Tomcat/MySQL, RPG/DB2/ExtJS, etc).  Imagine that it was actually affordable to have your own IBM i in the cloud!  All I can say is we are incrementally getting closer…

With the recently announced and refined Image Management on Steve Will’s blog, this pre-loaded image concept is currently a reality.  Take that a step further and see how automated IBM has made the process of creating a new virtual LPAR of IBM i in the cloud: video.

The next step would be for IBM to offer the VLP service, shown in the aforementioned video, as a reasonable-cost-monthly-lease.  The good news is that they are already doing test-bed implementations of this with PartnerWorld ISVs.  If you are a ParnterWorld ISV looking to gain access to an IBM i LPAR in the cloud for commercial development purposes at INCREDIBLY reasonable cost, then you should contact Jon Rush (jrush@us.ibm.com).

AaronBartell.com


Read the original at Young i Perspectives.

Pete's Wordshop › Life with Liferay

October 27th, 2011 Comments off

Summer is long gone and fall is fading fast, so what happened to me?  Been deep into a project (pro bono, alas) using LifeRay portal.  LifeRay  is an Open Source Portal which is pretty cool. The Open Source version has a long way to go in some areas (documentation would be a good starting place) but some of the functionality out of the box is great (some needs work).

My application is a servlet and wrapping a servlet in a portlet, sharing data between them, was not s trivial task.  I had a long learning curve and was heading into a deep technical dive on the framework when an epiphany rescued me from heading down a technical rabbit hole.  I simply wrapped the servlet in an iframe and constructed the URL for the iframe using jQuery and portlet  parameters from within the hosting jsp.  LifeRay *has* a portlet iFrame but it has the same limitations as the html iframe: Moving data between the portlet and the html/app within the iframe is near impossible to do without getting pretty hacky….

I was able to get the hacky solution to work OK, although I wished I could handle things a little more elegantly.  I also wanted to host a message board (aka forum) but I had nothing but trouble getting the email functionality to work.  In fact I am still dead in the water on the emails sent to the board reaching the forum posts.

The support at the LifeRay forum is so-so.  Too many dead ends on posts of similar problems and many, many similar problems exist without resolution.  If I were the LifeRay team I’d handle the posts that are most frequent with either a solution or an intelligible FAQ in the Wiki.  As it is, I still have posts that were never completely resolved.

I’ll probably continue to use LifeRay because 1. This pro bono project requires it and 2. It seems to be the best Open Source portal solution I can find.  I am not completely satisfied, but hopefully one day you’ll be reading this blog from within LifeRay and all will be well.


Read the original at Pete's Wordshop.

Categories: Blogs Tags:

Bob Cancilla on IBM i › Goodbye to Sam Palmasano?

October 26th, 2011 Comments off
Well, finally Sam Palmisano is retiring as IBM CEO!  Good riddance!  This man following in his mentor's footsteps (Lou Gerstner) has done absolutely nothing to further IBM as an industry leader and has probably darn near destroyed any vestiges of industry leadership that IBM once may have had.

Under Sam's leadership, he has totally shifted the focus of IBM from hardware and software to consulting.  He has sold off the IBM Printing Division, the PC Division, was involved in eliminating the System i Division of the Systems and Technology Group!  He has been a huge advocate of IBM's ill defined Cloud venture!  His head is in the clouds, but IBM sure as heck can't figure it out.

How is that Amazon, Google, Oracle, Yahoo, Microsoft, and others have operational clouds and IBM is still talking about them? 

Take a close look at his replacement.  While it is interesting and very PC (politically correct) that he is being replaced by a woman, she (Virginia Rometty) is cut from the same cloth as good ole Sam.  She was responsible for integrating Coopers & Lybrand into IBM Global Services.  She was Sr VP Sales and Marketing most recently.  


If anyone has any doubt about the future of IBM i, this pretty much seals its death warrant and close the coffin.  Hell it may close the coffin on the IBM that we once new who helped commercial enterprises figure out and manage computer systems! 



Read the original at Bob Cancilla on IBM i.

Categories: Blogs Tags:

Mike's IBM i PHP blog and more... › To OO or not to OO, that is the question…

October 24th, 2011 Comments off

I grew up with procedural programming. What does that mean? To me it means I have spent a MAJORITY of my business career delivering value to companies by developing programs that have subroutines and possibly functions and sub procedures. I like to think I have added tremendous value but at the same time I also realize that some of my code has been superseded by newer programs and alternate methods.

But everyone tells me that OO (Object Oriented programming) is where I should be! The “industry” is/has moved to the OO model of development thanks to such powerful languages like Java and C++. Even PHP has an OO model to let me feel like I am playing along. So what should I do? Well, here is my tale on the OO paradigm and I hope this makes some sense to all of you!

As a procedural programmer in the 90’s I heard the “good news” of Java from IBM. I struggled with Java at first and then had some VERY marginal success. I found it cumbersome to try and learn, not because Java was necessarily hard, but because I was trying to absorb too much at one time. Many challenges plagued this old RPG dog like a new language, syntax, structure, environment, etc. I’m not the only one who struggles, even Carnegie Melon dropped OO from their freshman curricula because students were coming up with not nearly enough experience in developing algorithms.

Enter in PHP and the opportunity to learn something new. PHP becomes the ideal language for education and more since it can start you at your level. Think of the PHP landscape as a major expressway with different lanes for more or less experienced drivers. Folks who come to PHP with no programming experience can start with very simple inline code. For those of us who hail from the procedural world we can pick up with functions. And for those who are flying in and out of traffic with a Java or C++ background there is a fully support Object Oriented model to work with.

I have been recommending PHP to many educational institutions and have it on good rumor that the curricula I have been teaching at Moraine Valley Community College will become permanent courses called MIS126 and MIS226. These courses start at procedural PHP and then work up to and through the Object Oriented realm. This is great news as we can now add more PHP developers to the world and demonstrate that PHP is not just a hobbyist language by delivering classes in true academia!

For those who cannot wait, the educational path at Zend offers PHP 1 Foundations for IBM i Programmers and PHP Foundations 2: Higher Structures. The first class takes an RPG programmer from zero to sixty with a full immersion in the functional world of PHP while the second class starts off at functions and whips you up into the object oriented realm.

Even more educational opportunities exist at places like SystemiNetwork where we are about to begin a whole new online sequence for PHP training.

No excuses, get out there and play!


Read the original at Mike's IBM i PHP blog and more....

Categories: Blogs Tags:

midrange.com - In My Humble Opinion › IBM Power Systems Champions

October 10th, 2011 Comments off
Recently IBM announced a new category for their Champions program … Power Systems Champions. I was honored to be one of the first community members inducted into the new category. IBM Champions are IT professionals, developers, and educators who lead and mentor others and help them make best use of IBM solutions and services. Get [...]



Read the original at midrange.com - In My Humble Opinion.

Categories: Blogs Tags: , , ,