MC Press Online

Thursday, May 25th

Last updateMon, 22 May 2017 4pm

You are here: Home ARTICLES Programming Web Languages

Programming / Web Languages

TechTip: PDO for PHP

Why do we use PHP with an HTML web page? Lots of reasons, but data access is one of the most important, and PHP Data Objects (PDO) is, for me, the best way to do that.

david shireyWritten by David Shirey

There are lots of web languages out there, aren’t there? HTML5, JavaScript, PHP, CoyoTE. I actually don’t know if that last one exists, but given the number of special languages available for the web, I think I’ve got a 50-50 chance.

 

And increasingly, on the IBM i, we are being introduced toand find reasons to usemore and more of these languages. Each has its own list of things that it does well and things that it doesn’t.

Read more ...

TechTip: PHP 7.0 Is Coming, Part 1

PHP 7.0 is in the process of coming to you now, probably before the end of the year. But why should you care? What does it offer? And when will it be available?

david shireyWritten by David Shirey

Sometime between now and the end of 2015, a new version of PHP, PHP 7, will hit the streets. Currently, most of us are using 5.3 or 5.4, and I'm guessing that many of you are wondering what happened to PHP 6. Did they just skip it, or is there something in the way PHP handles cardinal numbers to cause the jump?

Read more ...

TechTip: Node.js Is Genius with WebSockets

HTML5 brought with it a number of new features, and WebSockets stands out as a top necessity to browser-based apps.

aaron bartellWritten by Aaron Bartell

"Wow, that was significantly simpler than I thought it would be," said no web programmer ever.

 

I am often in the camp of wishing things were simpler with web development, specifically the link between the browser and server, so that I don't have to think as much about the underlying technology and can focus more on meeting the business need. Many technologies have made strides in this area over the years with concepts of convention over configuration (thank you, Ruby on Rails). Today, I am tooting the horn of JavaScript and Node.js in the implementation of HTML5 WebSockets.

Read more ...

Why Managers Should Pay Attention to PHP

Everyone knows about PHP. Or maybe I should say everyone has heard about PHP. But that's not the same as "knowing" about it. What should IT executives be doing or thinking about PHP?

david shireyWritten by David Shirey

PHP. You can't do the tango in a drugstore without bumping up against it. It's not the only player in town, but it's definitely one of the big boys.

 

And lots of people are talking about it. But you know what? It seems that most of the people who are doing the talking are the ones who are actually working with PHP.

Read more ...

TechTip: What Do You Need to Get Set Up to Do PHP on the IBM i?

PHP doesn't run in RSE or PDM, so how do you set up scripts (not programs) or do your testing? Do you need a PC? Or can you do it from the i?

david shireyWritten by David Shirey

RPG runs natively on the i. You create your program in a source file using PDM or RSE and then compile. Everything that RPG needs to do its thing is already built into the IBM i. PHP isn't like that. You need to do a little bit of work to get it to function.

 

I know you'd prefer to just dive into things. But you can't do that with PHP on the i because some effort is required to get it to work. So pay attention: this is important stuff.

Read more ...

What Language Do All the Most Popular Websites Use? JavaScript! Find Out Why

 

Two decades of evolution make it a great time to supplement your RPG skills with JavaScript, the standard language of the browser. Let's take a trip down memory lane and take a practical look at one of the world's most popular programming languages.

 

robert swansonWritten by Robert Swanson

 

JavaScript will hit a big milestone later this year as it turns the ripe old age of 20. Originally introduced as "LiveScript" by a company called Netscape in mid-1995, the JavaScript language has undergone quite a metamorphosisincluding a name changesince those early pioneering days of the Internet. JavaScript is in fact largely responsible for the amazing breadth of functionality many users take for granted in web pages and web-based apps today.

Read more ...

Which Language Do All the Most Popular Websites Use? JavaScript! Find Out Why

Two decades of evolution make it a great time to supplement your RPG skills with JavaScript, the standard language of the browser. Let's take a trip down memory lane and take a practical look at one of the world's most popular programming languages.

robert swansonWritten by Robert Swanson

JavaScript will hit a big milestone later this year as it turns the ripe old age of 20. Originally introduced as "LiveScript" by a company called Netscape in mid-1995, the JavaScript language has undergone quite a metamorphosisincluding a name changesince those early pioneering days of the Internet. JavaScript is in fact largely responsible for the amazing breadth of functionality many users take for granted in web pages and web-based apps today.

Read more ...

Why the Zend Conference Matters to IBM i Folks

Each of us is an evangelist for the i, a voice heard in the wilderness. But to make that voice heard, we need to get out there where the people who are not part of our "i world" live.

david shireyWritten by David Shirey

I just got back from ZendCon, the annual conference for Zend, the people who bring you PHP and its interface on the IBM i.

 

It was a great experience and not just because of the weather. Santa Clara, California, in October. Sunny skies, exceptionally nice temps in the low 70s. Even though the hotel was connected to the convention center, I went out of my way to walk outside coming and going.

Read more ...