× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



ODBC/JDBC/ORM are not cornerstones of PHP MVC frameworks in any way. MVC frameworks don't care how you get our data, one of the main purposes of MVC is to separate your presentation code from your backend code. Typically your mapper would just call an API end point instead of issuing a direct DB call - the rest of your code would remain the same.

You are correct in that REST web services can be an alternative to direct DB calls such as ODBC/JDBC/ORM. However I don't follow how if someone is considering PHP web frameworks, they may be thinking of doing too much in PHP.

-----Original Message-----
From: Nathan Andelin <nandelin@xxxxxxxxx>
Sent: Tuesday, June 19, 2018 6:05 PM
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] Frameworks

I'll post a link to an ITJUNGLE article that triggered a couple of substantive discussions on Linkedin:

https://www.itjungle.com/2018/05/07/keep-your-ibm-i-baby-not-the-bathwater/

It delineates one company's transition from green screens to PHP-based web applications that interface with an RPG-back-end via some type of API that wasn't specified in the article, but could have been REST web services APIs.

One of the owners of the company, King Harrison IV advocated for this type of architecture on Linkedin.

I view IBM i REST web services as an alternative to ODBC/JDBC/ORM interfaces that tend to be a cornerstone of PHP MVC frameworks. If you decide on a REST web service API, the "model" in MVC effectively moves to the web service, which suggests limiting PHP to the "view" in MVC.

I think this suggest that if you're considering PHP web frameworks, then you may be thinking of doing too much in PHP.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.