Nathan, I think Dan was saying that the M would just become a facade over
the REST services, but C and V have no dependency on ODBC/JDBC. So the
shift to REST only replaces the part of M that uses the database, and that
hardly invalidates MVC frameworks.

Now if you are interested in PHP frameworks, and don't want to use the MVC
pattern, you could go with Zend. They have developed a system of middleware
seperate from the MVC pattern. It may be just what the doctor ordered.
Check this out https://docs.zendframework.com/zend-expressive/

On Wed, Jun 20, 2018 at 3:15 PM Nathan Andelin <nandelin@xxxxxxxxx> wrote:

On Wed, Jun 20, 2018 at 12:30 PM, Dan Lanza <DLanza@xxxxxxxxxxxxxxx>
wrote:

ODBC/JDBC/ORM are not cornerstones of PHP MVC frameworks in any way.


You appear to be saying that the "M" in MVC frameworks is not dependent on
ODBC/JDBC or an ORM in any way. Can you explain that?

I don't follow how if someone is considering PHP web frameworks, they may
be thinking of doing too much in PHP.


Some people would suggest that a best practice is to implement data
validation, referential integrity, database related business rules, and any
other logic that requires database access - to implement that type of logic
in the same address space as the DBMS. Any logic that is incidental to
database read, write, update, and delete events, for example.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.