![]() ![]() It is a very well – known, stable and widely used by us in many projects library, whose task is to convert your own objects with the help of the appropriate configuration (mapping) to a given text format (supported by default: json, XML and YAML) and vice versa-from the text format to the form of objects.įunctionality known from other programming languages enumeration it is provided by a small library eloquent / enumeration. Looking at dependency lists in the project, you can see that for the purpose of serializing data to a form that can be transferred between the application and the REST API, we use JMS Serializer ( ). However, we gave up because this version of the language was only a few days old when we started working on the library. We also considered adapting the project to Php 7.1. In our intention, the created API client should be as light as possible, with as few external dependencies as possible, in order to allow relatively easy installation and avoid, as far as possible, conflicts with other dependencies of the project to which the SDK would be added.Īs for the PHP version, the natural choice was the currently supported version 7. That is why we decided to start work on the library, which can now be found at. However, this would not be efficient due to the need to duplicate the code and the time it takes to adapt the changes to newer versions of the Salesforce API. ![]() The solution to this problem could be to integrate with the REST API each time creating dedicated a project-specific solution. ![]() eventfarm/restforcephp, which during the execution of the research was not as developed as at the time when we write this article. Most are no longer developed or maintained. Of course, we did not finish our search on the official SDK, but we also looked at ready-made solutions created by the open source community. It is not developed since March 2015, which means that it supports API up to version 27, with the current 38. It is used to communicate with the Soap API, there is no REST client, which we think would be better in terms of, among other things, performance for the basic scenarios that we wanted to cover (mainly CRUD operations, basic data synchronization), In addition, we found several problems in this library: Official SDK version supplied by Salesforce itself, it is written in PHP 5, whose active support was closed at the end of last year. Of course, we are not afraid of challenges and such integration is not a big problem for us, but we noticed that the existing solutions in PHP do not meet our standards and are written in technologies that can be safely called obsolete. In recent months, more and more customers are asking us about the possibility of outsourcing a project to XSolve, in which particular emphasis would be placed on integration with the CRM Sa system used by them and extremely popular in the world lesforce. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |