Sage-ERP-X3 / sample-x3-ws-php-webportal

13 stars 10 forks source link

Composer package development and LaravelBridge #2

Closed ijpatricio closed 4 years ago

ijpatricio commented 6 years ago

Hello everyone

@oliviermantel would you like a PR with composer package and psr-4 autloading?

I'm starting work on this, and makes sense to make a global tool everyone may re-use, and properly tested, right?

oliviermantel commented 5 years ago

Yes it is a good idea.

ijpatricio commented 5 years ago

Hello @oliviermantel

How would you like to see this started?

oliviermantel commented 5 years ago

what do you suggest? in fact I do not know how it should be done and how to use it?

ijpatricio commented 5 years ago

I can help with Php and Laravel

is your background is more about 4gl and java?

Php distributable code is mainly with Composer Similar like Java Maven, C# Nuget, Ruby Gems, and so on...

So, we could start with same project like this one, but using a package in composer..

Please let me know a little more about your background, so I can explain more accordingly?

oliviermantel commented 5 years ago

Yes i know L4G and java

De : ijpatricio notifications@github.com Envoyé : lundi 1 octobre 2018 12:11 À : Sage-ERP-X3/sample-x3-ws-php-webportal sample-x3-ws-php-webportal@noreply.github.com Cc : MANTEL, Olivier Olivier.Mantel@sage.com; Mention mention@noreply.github.com Objet : Re: [Sage-ERP-X3/sample-x3-ws-php-webportal] Composer package development and LaravelBridge (#2)

I can help with Php and Laravel

is your background is more about 4gl and java?

Php distributable code is mainly with Composerhttps://getcomposer.org/ Similar like Java Maven, C# Nuget, Ruby Gems, and so on...

So, we could start with same project like this one, but using a package in composer..

Please let me know a little more about your background, so I can explain more accordingly?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Sage-ERP-X3/sample-x3-ws-php-webportal/issues/2#issuecomment-425855884, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEP-gPqZWdn6OLghSK3oD-sz87p9KMl-ks5ugeorgaJpZM4Wlio-.


Attention: This email has arrived from the internet. Please use caution when opening attachments. Please follow all appropriate security policies when opening any email from a non-trusted source. If you feel this message is suspect please contact your local security representative or Help Desk for review.

[Sage] The information contained in this email transmission may constitute confidential information. If you are not the intended recipient, please take notice that reuse of the information is prohibited.

ijpatricio commented 5 years ago

Thanks. Now I know better how to explain.

For PHP, Composer is a dependency manager, that gets packages from Packagist.org, which has Github projects, as packages..

We could have 2 repositories: 1 for the webservice client, and another for the website.

Example repositories:

The first one would require the 2nd... the composer then generates a autoload file, that we require.. and we then have all the classes available.

Would you like to see this happen? Because then, any PHP developer who wants to integrate x3 webservices, just need to require the client (consumer) package in their project.

As it is right now, we learn how to do it, but with this option, will be much better in speed and practical to install and use...

Also, if you want to schedule a live meeting, I can show you this workflow with another projects.

Let me know, thanks!

oliviermantel commented 5 years ago

ok I understand

I trust you and you can do it without problem on one of your branch github then hopefully I reintegrated in the main branch.

Olivier Mantel

De : ijpatricio notifications@github.com Envoyé : mardi 16 octobre 2018 09:52 À : Sage-ERP-X3/sample-x3-ws-php-webportal sample-x3-ws-php-webportal@noreply.github.com Cc : MANTEL, Olivier Olivier.Mantel@sage.com; Mention mention@noreply.github.com Objet : Re: [Sage-ERP-X3/sample-x3-ws-php-webportal] Composer package development and LaravelBridge (#2)

Thanks. Now I know better how to explain.

For PHP, Composer is a dependency manager, that gets packages from Packagist.org, which has Github projects, as packages..

We could have 2 repositories: 1 for the webservice client, and another for the website.

Example repositories:

The first one would require the 2nd... the composer then generates a autoload file, that we require.. and we then have all the classes available.

Would you like to see this happen? Because then, any PHP developer who wants to integrate x3 webservices, just need to require the client (consumer) package in their project.

As it is right now, we learn how to do it, but with this option, will be much better in speed and practical to install and use...

Also, if you want to schedule a live meeting, I can show you this workflow with another projects.

Let me know, thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Sage-ERP-X3/sample-x3-ws-php-webportal/issues/2#issuecomment-430155753, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEP-gOG3unFF0H1g_fotsUzxyJXH0XuMks5ulZ5GgaJpZM4Wlio-.


Attention: This email has arrived from the internet. Please use caution when opening attachments. Please follow all appropriate security policies when opening any email from a non-trusted source. If you feel this message is suspect please contact your local security representative or Help Desk for review.

[Sage] The information contained in this email transmission may constitute confidential information. If you are not the intended recipient, please take notice that reuse of the information is prohibited.

ijpatricio commented 4 years ago

Wow. This got lost somewhere in translation. (in time)

I will get back to this in next few weeks, unless you tell me not to.