• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Introduction to Serverless With PHP (IBM Cloud OpenWhisk)

By Abhishek Ghosh May 19, 2018 2:46 pm Updated on May 19, 2018

Introduction to Serverless With PHP (IBM Cloud OpenWhisk)

Advertisement

Server less is a Great Concept. In our previously published articles, we discussed about IBM OpenWhisk and also shown how to install OpenWhisk on Ubuntu server. As it is a Free Software framework, we have no fear of vendor lock-in if we carefully use the PHP functions only. Here is Introduction to Serverless With PHP For IBM Cloud OpenWhisk.

Serverless concept itself as basic as using some object storage to host HTML, CSS, Javascript to do intended action. That is nothing new. We need kind-of-same to execute PHP like dynamic langugage on others server/service than on our hosting server. That will offload the load on server and hopefully make kind-of “parallel processing” because webpage’s HTTP call and call via CLI are different events – that makes a big difference with Javascript. It is like as if a ghost running PHP CLI commands from our servers on others server and delivering the result. We talked about Function-as-a-Service (FaaS). The ideas are great but examples, documentations for genuine deployment like as WordPress plugin is almost non-existent.

Fortunately or unfortunately, you may need to setup your computer with IBM Bluemix Tools. These setups on own server is single most disgusting work when compared with IaaS/Cloud Server. Even if not needed for OpenWhisk, you’ll need them some other tool.

Advertisement

---

Serverless is a Node.js CLI tool. Go to the official Node.js website, download and follow the installation instructions :

Vim
1
https://serverless.com/framework/docs/providers/openwhisk/guide/installation/

With OpenWhisk we can extract computing power from our lesser used server from popular one apart from using it as service of IBM or others. So, your two extra few GB RAM servers actually not going in waste.

Introduction to Serverless With PHP IBM Cloud OpenWhisk

 

Introduction to Serverless With PHP

 

Thankfully there is PHP Composer package for OpenWhisk. Oddly, IBM has another Composer with conflicting name :

Vim
1
https://github.com/ibm-functions/composer

We were taling about this Composer :

Vim
1
https://dzone.com/articles/using-composer-packages-with-openwhisk

OpenWhisk has Actions, which is PHP Functions. Sequences is to connect and chain multiple actions.
Triggers are for organizing event sources. Rules connect Triggers and Actions. Packages allows to bundle a set of actions.

Serverless has own website :

Vim
1
https://serverless.com/

As Amazon, IBM and native Apache OpenWhisk are working for the same stuff, it will be prudent to install Apache OpenWhisk on own server and test, deploy the stuffs. It is not practical to develop, code for IBM or Amazon, rather adjust coding on need. You’ll get Example for IBM on that website :

Vim
1
https://serverless.com/framework/docs/providers/openwhisk/examples/

Then you can test this :

Vim
1
https://github.com/serverless/examples/tree/master/openwhisk-php-simple

You can read this guide :

Vim
1
http://blog.zerosharp.com/a-concrete-php-serverless-example/

Some PHP frameworks for OpenWhisk developed, each has own merit. Usage for Amazon service may differ :

Vim
1
https://read.acloud.guru/serverless-php-630bb3e950f5

You may create a Hello Dolly Plugin for WordPress using OpenWhisK to test. I am at Hello Dolly stage around OpenWhisk.

This Article Has Been Shared 779 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Introduction to Serverless With PHP (IBM Cloud OpenWhisk)

  • Fundamentals of Cloud Computing

    Fundamentals of Cloud Computing represents the History, Characteristics, Cloud Computing Models and Implementation of Cloud Computing in separate paragraphs.

  • Creating and Deleting Server Instance on Rackspace Cloud : Video Guide

    Creating and Deleting Server Instance on Rackspace Cloud are two most basic points that any new user must get used with it. You can practice the full process to master it. Once you delete the server, there will be nothing. So be careful. The charge for Rackspace is based on hourly usage basis. For one […]

  • Real Time Widgets in WordPress with WebSocket

    WebSocket is a Protocol which has PHP library for serving real-time messages between clients and server which opens the possibility to use with WordPress.

  • Heroku PaaS Introduces New Infrastructure

    Heroku PaaS Introduces New Infrastructure With Some Change in Their Basic Uni Named Dynos and Pricing. The Free Usage Tier Remains Unchanged.

  • Difference Between Cloud Computing IaaS & VPS Hosting

    There is can be no difference from one point to many differences. Here is About the Difference Between Cloud Computing IaaS and VPS Hosting.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (22.1K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Samsung Galaxy S22 Ultra: Long Term Review June 30, 2022
  • How to Make the Most of Your S Pen (S22 Ultra) June 29, 2022
  • Safe Chargers for Samsung Galaxy S22 Ultra June 27, 2022
  • How Telecoms Can Use The Cloud To Power Their 5G Network June 24, 2022
  • A Beginner Guide to Cloud Computing for Development June 22, 2022

About This Article

Cite this article as: Abhishek Ghosh, "Introduction to Serverless With PHP (IBM Cloud OpenWhisk)," in The Customize Windows, May 19, 2018, July 1, 2022, https://thecustomizewindows.com/2018/05/introduction-to-serverless-with-php-ibm-cloud-openwhisk/.

Source:The Customize Windows, JiMA.in

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Privacy Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2022 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy