Re: PHP with Laravel on IBMi

Alan Seiden <[email protected]> Fri, 15 Sep 2023 14:03:00 -0400
Newsgroups gmane.comp.systems.as400.web
Message-ID <[email protected]>
Don, 

Laravel does inspire loyalty and has a huge cross-platform community and good documentation.

Laravel on IBM i has enough traction that there is an open source IBM i - specific extension to the Laravel database class:
https://www.seidengroup.com/2023/01/18/connecting-to-ibm-i-db2-with-the-laravel-php-framework/

To me, the big question with Laravel and other frameworks is maintenance and upkeep. As new versions come out, and as PHP itself gets updated, you need to upgrade to new versions of Laravel. Some upgrades are quick, while others take more time. Frameworks that do more also require more maintenance and upgrades. You need to be committed to the framework. Frameworks that are more bare bones, such as Slim, require less upkeep.

Alan

—

Alan Seiden
Principal, Seiden Group
APIs, Modernization, and Open Source on IBM i
CommunityPlus+ PHP with SmartSupport

Free tips on IBM i and open source: http://www.seidengroup.com/tips



> On Sep 14, 2023, at 9:31 AM, Pete Helgren <[email protected]> wrote:
> 
> Don,
> 
> I haven't worked with it much.  I use BookStack CMS to host books I have written.  It runs on i (of course) and uses Laravel.  What I like is that in the case of BookStack, Laravel allows you easily override existing exiting "base" functionality that you have written, much like having a library of core functions and then putting another library in the library list ahead of it that modifies or overrides a function.  It's pretty simple in concept and implementation.
> 
> That is always the advantage of using a framework, you get lots of helpful OOTB functionality you don't have to write.  Weighing that against the bulk and learning curve of a framework is the challenge.
> 
> Pete Helgren
> www.petesworkshop.com
> GIAC Secure Software Programmer-Java
> GIAC Cloud Penetration Tester
> AWS Certified Cloud Practitioner
> Microsoft Certified: Azure Fundamentals
> 
> On 9/14/2023 1:00 AM, Don Brown via WEB400 wrote:
>> Hi All
>> 
>> We are relatively new to PHP and have been building a few applications in
>> just PHP - no frameworks.
>> 
>> And at this stage have been quite happy with the results.
>> 
>> We initially ran the Zend server from IBM and have recently installed the
>> Community edition from Alan Sieden.
>> 
>> I am trying to understand what benefits we would get by adding Laravel to
>> the mix ?
>> 
>> This is not something I have knowledge about and am trying to find ...
>> well what does it actually do.  I have watched some utube videos and read
>> a number of documents but I think I am more confused now!
>> 
>> So what am I asking ...
>> 
>> Is anyone using Laravel with PHP on IBMi and if so why ?
>> 
>> What benefits can I get from Laravel ? or for that matter is there another
>> framework that would be recommended with PHP on IBMi ?
>> 
>> Can you recommend any resources - documents, videos that I may be able to
>> get a better view or why I might want to use it ?
>> 
>> Thanks
>> 
>> Don
>> 
>> 
>> 
>> 
>> --
>> This email has been scanned for computer viruses. Although MSD has taken reasonable precautions to ensure no viruses are present in this email, MSD cannot accept responsibility for any loss or damage arising from the use of this email or attachments..
> -- 
> This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
> To post a message email: [email protected]
> To subscribe, unsubscribe, or change list options,
> visit: https://lists.midrange.com/mailman/listinfo/web400
> or email: [email protected]
> Before posting, please take a moment to review the archives
> at https://archive.midrange.com/web400.
> 

-- 
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.