TechTips


TechTip: Riding the Rails, Part 1 PDF Print E-mail
Tips & Techniques - Scripting
Written by Aaron Bartell   
Friday, 15 January 2016 01:00

The IT industry is putting an emphasis on automation. The Ruby on Rails web framework has been doing that for a decade. Ride this rail with me as we dive into the many cool realities of Ruby on Rails.

aaron bartellWritten by Aaron Bartell

In the February 2015 article "Trying on a Ruby Ring," I talked about doing a small Hello World Ruby app and showed how to invoke an RPG program from Ruby. In March 2015's article "Sinatra Sings, Ruby Plays," I introduced you to a very simple web framework named Sinatra. In the April 2015 article "Ruby Talks to DB2 for i," I showed how a simple Ruby web application can query DB2.

 

Some of those articles touched briefly on portions of the Ruby on Rails web framework (Rails for short). We are about to embark on a journey to further define the many benefits of Rails and see why so many other technology stacks have followed their lead over the years.

Add a comment
Last Updated on Friday, 15 January 2016 01:00
Read more...
 
User Rating: / 1
PoorBest 
TechTip: Running PHP Scripts: WAMP/MAMP/LAMP PDF Print E-mail
Tips & Techniques - Scripting
Written by David Shirey   
Friday, 08 January 2016 01:00

Running RPG programs once they're created is easy. But what about PHP? We created a class-oriented script, but how do we run it? And what kind of setup is required to have a functioning PHP environment?

david shireyWritten by David Shirey  

We spent the last few tips talking about classes and gradually building a small script that was based in a class. But have you run the script? Do you know how to run a PHP script?

 

PHP isn't like RPG. It doesn't just run on the machine that you create it on. And you don't just do a "callphp" or something like that.

Add a comment
Last Updated on Friday, 08 January 2016 01:00
Read more...
 
TechTip: Front-End Your Application Servers with Nginx PDF Print E-mail
Tips & Techniques - Scripting
Written by Aaron Bartell   
Friday, 18 December 2015 01:00

Nginx serves many purposes. One is to sit in front of your Node.js, Ruby, Python, and other application servers, making it a single point of entry.

aaron bartellWritten by Aaron Bartell

In the article "Drivers, Start Your Nginx!", I discussed how to install the Nginx web server and walked through how to set up a simple index.html "Hello World" program. An obvious next step would be to have Nginx act as a front-end to your application servers so it can accomplish what's called a "reverse proxy."

Add a comment
Last Updated on Friday, 18 December 2015 01:00
Read more...
 
TechTip: A Freeware IDE for PHP Development PDF Print E-mail
Tips & Techniques - Dev Tools
Written by Stas Ustimenko   
Friday, 11 December 2015 01:00

If you're developing in PHP and want that development to take place within an IDE, CodeLobster offers a no-cost solution.

stas ustimenkoWritten by Stanislaus Ustimenko

Code development, particularly for creation of websites, often calls for the use of PHP, HTML, CSS, or JavaScript for best results. CodeLobster PHP Edition is a portable IDE that embodies a code editor and numerous other utilities for such projects and is available in a freeware and two licensed shareware versions.

Add a comment
Last Updated on Monday, 23 November 2015 10:15
Read more...
 
TechTip: C# for RPGers - Start Here PDF Print E-mail
Tips & Techniques - Scripting
Written by Rafael Victoria-Pereira   
Friday, 04 December 2015 01:00

This is the first TechTip of a new series that aims to help you leverage your ILE RPG knowledge to learn a multi-purpose, programmer-friendly, modern, object-oriented language. Let's start at the beginning: setting up your development environment.

rafael victoria preiraWritten by Rafael Victória-Pereira

This series' goal is to help you learn enough C# to be able to use this programming language instead of RPG for some of your IBM i development. With it, you'll be able to build stuff that you'd have a hard time doing using only RPG, such as graphical user interfaces, data-rich web applications, and even mobile apps!

 

As I explained in the prequel to this series, C# and .NET have a lot in common with RPG and ILE. However, I'll take things nice and slow, because learning a new programming language, particularly an object-oriented one, can be a challenge.

Add a comment
Last Updated on Friday, 04 December 2015 01:00
Read more...
 
User Rating: / 2
PoorBest 
TechTip: PHP Classes: Just When You Thought It Was Over PDF Print E-mail
Tips & Techniques - Scripting
Written by David Shirey   
Friday, 04 December 2015 01:00

I promise, this is it, the last section of our opus on creating PHP OO classes. Finally! And believe me, no one is happier than I am. Except that now I have to decide what to write about next.

david shireyWritten by Dave Shirey

Last month, we finally got a class definition that not only was I satisfied with, but also actually worked. So what is there left to do? Not too much at this point (there really is a lot more stuff about classes that we could go into, but I'm not going there yet). But we have a few "icing" kinds of things to clean up, so let's get started.

Add a comment
Last Updated on Friday, 04 December 2015 01:00
Read more...
 
User Rating: / 1
PoorBest 
TechTip: Drivers, Start Your Nginx! PDF Print E-mail
Tips & Techniques - Linux / Open Source
Written by Aaron Bartell   
Friday, 20 November 2015 01:00

Nginx (pronounced Engine-X) is a very popular web server, second only to Apache in the open-source world. Did you know it runs on IBM i?

aaron bartellWritten by Aaron Bartell

"Put on your big-boy pants!" is what they told me. "Dig deeper and figure stuff out for yourself!" they said. Based on the feedback I was getting from online forums, I realized I needed to step up my game in my first open-source ventures. Those were some tough days for my RPG programmer brain, but I stuck with it. Now I see the advantages of going through many mud puddles.

Add a comment

Last Updated on Friday, 20 November 2015 09:56
Read more...
 
TechTip: A Word About Multiple-Event Triggers PDF Print E-mail
Tips & Techniques - Database
Written by Mohankumar Saraswatipura   
Friday, 13 November 2015 01:00

Among the uses are generating events and inserting records in tables.

mohan saraswatipuraWritten by Mohankumar Saraswatipura

Editor's note: This article is an excerpt from the book DB2 10.1/10.5 for Linux, UNIX, and Windows Database Administration (Exams 611 and 311): Certification Study Guide.

 

In DB2 10.1, you can create a multiple-event trigger to fire off a trigger action based on one of three possible triggering events—an INSERT, an UPDATE, or a DELETE statement—instead of creating a separate trigger for each event.

 

Multiple-event triggers are supported for both row-level triggers (FOR EACH ROW) and statement-level triggers (FOR EACH STATEMENT), which allows you to transform a complex business rule into sophisticated trigger logic. It also helps you greatly during the database migration process to migrate other database vendor products to DB2.

Add a comment
Last Updated on Friday, 13 November 2015 01:00
Read more...
 
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Page 5 of 196

WEBCAST

MC Webcast CenterFEATURED WEBCAST

See What i Can Do With Modern RPG Development

Your applications deserve more than just a new look! Change the perception of the IBM i as “old” with modern development tips from IBM and Profound Logic Software.
Watch as Barbara Morris, Brian May and Alex Roytman dive beneath the GUI surface to show the benefits of:

 

  • Working with free-format RPG in IBM i TR7
  • Breaking free from “The Cycle” of traditional RPG development
  • Going beyond the 10 character limit in display and database files
  • And more!

You'll also see a live demonstration of these techniques as the presenters create a modern web application before your eyes! 

 

Watch the Webinar Now!

 

TRIAL SOFTWARE

MS Office Connector for Query/400

NGS' Qport Office enables Windows users to run IBM Query/400 queries to: 

 - Create and update Excel spreadsheets and Access databases

 - Create Word documents

 - Send to Windows screen and PC printers

No query conversion is required. Works with i5/OS V5R1 & above. Installs in minutes!

If you don’t have a budget to replace IBM Query/400, but want your users to have one click enhanced output of their queries.… Request the online license agreement and product download instructions today!

Offer good through December 31, 2013.

   MC-STORE.COM