Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Magento 2 Developer's Guide v1.0.0.0 for Imagine #44

Merged
1 commit merged into from
May 11, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion guides/m2devgde/v1.0.0.0/integration/integration-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Understanding Integration Authorization

<h1 id="what-is-integration">Understanding Integration Authorization</h1>

<p><a href="https://github.com/magento/devdocs/blob/master/guides/m2devgde/v1.0.0.0/integration/integration-auth.md" target="_blank"><em>Help us improve this page</em></a>&nbsp;<img src="{{ site.baseurl }}/common/images/newWindow.gif"/></p>
<p><a href="https://github.com/magento/devdocs/blob/master/guides/m2devgde/v1.0.0.0/integration/integration-auth.md" target="_blank"><em>Help us improve this page</em></a>&nbsp;<img src="{{ site.baseurl }}common/images/newWindow.gif"/></p>


There are two ways to authenticate the third-party system with Magento:
Expand Down
2 changes: 1 addition & 1 deletion guides/m2devgde/v1.0.0.0/integration/integration-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Coding Your Integration

<h1 id="code-integration">Coding Your Integration</h1>

<p><a href="https://github.com/magento/devdocs/blob/master/guides/m2devgde/v1.0.0.0/integration/integration-code.md" target="_blank"><em>Help us improve this page</em></a>&nbsp;<img src="{{ site.baseurl }}/common/images/newWindow.gif"/></p>
<p><a href="https://github.com/magento/devdocs/blob/master/guides/m2devgde/v1.0.0.0/integration/integration-code.md" target="_blank"><em>Help us improve this page</em></a>&nbsp;<img src="{{ site.baseurl }}common/images/newWindow.gif"/></p>

This topic discusses how to code your integration with Magento. Eventually, you will be able to market your integration as an extension on Magento Connect; however, it's not possible to do that now for Magento 2 integrations.

Expand Down
10 changes: 5 additions & 5 deletions guides/m2devgde/v1.0.0.0/integration/integration-create-man.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Manually Creating an Integration Using the Magento Admin

<h1 id="integration-manual-create">Manually Creating an Integration Using the Magento Admin</h1>

<p><a href="https://github.com/magento/devdocs/blob/master/guides/m2devgde/v1.0.0.0/integration/integration-create-man.md" target="_blank"><em>Help us improve this page</em></a>&nbsp;<img src="{{ site.baseurl }}/common/images/newWindow.gif"/></p>
<p><a href="https://github.com/magento/devdocs/blob/master/guides/m2devgde/v1.0.0.0/integration/integration-create-man.md" target="_blank"><em>Help us improve this page</em></a>&nbsp;<img src="{{ site.baseurl }}common/images/newWindow.gif"/></p>

Creating a new integration manually implies that the administrative user previously contacted the third-party system's developers and got all necessary information.

Expand All @@ -17,13 +17,13 @@ To create a new integration:

The Integrations page displays, as shown in the following figure.

![Click **System** > **Integrations** to start]({{ site.baseurl }}/common/images/integration.png)
![Click **System** > **Integrations** to start]({{ site.baseurl }}common/images/integration.png)

3. Click ![Click the plus icon to add an integration]({{ site.baseurl }}/common/images/integration_plus.png).
3. Click ![Click the plus icon to add an integration]({{ site.baseurl }}common/images/integration_plus.png).

The New Integration page displays as shown in the following figure.

![Integration information consists of a unique name, optional e-mail address, and identity information]({{ site.baseurl }}/common/images/integration_new_info.png)
![Integration information consists of a unique name, optional e-mail address, and identity information]({{ site.baseurl }}common/images/integration_new_info.png)

4. Enter the following information:

Expand Down Expand Up @@ -61,7 +61,7 @@ To create a new integration:

The API tab page displays as the following figure shows.

![Select which resources to grant on the API tab page]({{ site.baseurl }}/common/images/integration_roleResources.png)
![Select which resources to grant on the API tab page]({{ site.baseurl }}common/images/integration_roleResources.png)

Defining the access to right resources for the third-party systems is critical for effective and secure work of your online store. There are two ways of how you can limit the access to your store for the third-party systems or some user roles:

Expand Down
6 changes: 3 additions & 3 deletions guides/m2devgde/v1.0.0.0/integration/integration-maintain.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Maintaining an Integration

<h1 id="integration-maintain">Maintaining an Integration</h1>

<p><a href="https://github.com/magento/devdocs/blob/master/guides/m2devgde/v1.0.0.0/integration/integration-maintain.md" target="_blank"><em>Help us improve this page</em></a>&nbsp;<img src="{{ site.baseurl }}/common/images/newWindow.gif"/></p>
<p><a href="https://github.com/magento/devdocs/blob/master/guides/m2devgde/v1.0.0.0/integration/integration-maintain.md" target="_blank"><em>Help us improve this page</em></a>&nbsp;<img src="{{ site.baseurl }}common/images/newWindow.gif"/></p>

Only integrations created manually using the Magento Admin can be edited; integrations created automatically from configuration files are not editable.

Expand All @@ -15,8 +15,8 @@ To edit or delete an integration:

2. Click **System** > **Integrations**.

3. To edit the integration, click ![Click the pencil icon to edit an integration]({{ site.baseurl }}/common/images/integration_pencil.png) next to the integration to edit.
3. To edit the integration, click ![Click the pencil icon to edit an integration]({{ site.baseurl }}common/images/integration_pencil.png) next to the integration to edit.

4. To delete the integration, click ![Click the trash can icon to delete an integration]({{ site.baseurl }}/common/images/integration_trash.png).
4. To delete the integration, click ![Click the trash can icon to delete an integration]({{ site.baseurl }}common/images/integration_trash.png).

5. Save your changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: What is an Integration?

<h1 id="what-is-integration">What is an Integration?</h1>

<p><a href="https://github.com/magento/devdocs/blob/master/guides/m2devgde/v1.0.0.0/integration/what-is-integration.md" target="_blank"><em>Help us improve this page</em></a>&nbsp;<img src="{{ site.baseurl }}/common/images/newWindow.gif"/></p>
<p><a href="https://github.com/magento/devdocs/blob/master/guides/m2devgde/v1.0.0.0/integration/what-is-integration.md" target="_blank"><em>Help us improve this page</em></a>&nbsp;<img src="{{ site.baseurl }}common/images/newWindow.gif"/></p>

All third-party systems integrating with Magento must be authenticated and authorized to access Magento resources securely. To make both procedures easier, we changed the workflow for authorizing the API calls. You can now authorize your third-party system using either secure, cloud-based key exchange or by creating the keys locally on the merchant's Magento system.

Expand Down
2 changes: 1 addition & 1 deletion guides/m2devgde/v1.0.0.0/svcs-framework/build-svc.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Basics of Building a Service

# Basics of Building a Service

<p><a href="https://github.com/magento/devdocs/blob/master/guides/m2devgde/v1.0.0.0/svc-framework/build-svc.md" target="_blank"><em>Help us improve this page</em></a>&nbsp;<img src="{{ site.baseurl }}common/images/newWindow.gif"/></p>
<p><a href="https://github.com/magento/devdocs/blob/master/guides/m2devgde/v1.0.0.0/svcs-framework/build-svc.md" target="_blank"><em>Help us improve this page</em></a>&nbsp;<img src="{{ site.baseurl }}common/images/newWindow.gif"/></p>

A _service_ is basically a contract between code that uses the service and an integration that implements the service. The service itself is PHP code&mdash;typically one or more interfaces, classes, and methods. To review the properties of a service, see <a href="{{ site.baseurl }}guides/m2devgde/v1.0.0.0/svcs-framework/svcs-props.html">Understanding the Properties and Responsibilities of a Service</a>.

Expand Down
2 changes: 1 addition & 1 deletion guides/m2devgde/v1.0.0.0/svcs-framework/svc-how-to-use.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: How a Client Uses a Service

<h1 id="how-client-uses-svc">How a Client Uses a Service</h1>

<p><a href="https://github.com/magento/devdocs/blob/master/guides/m2devgde/v1.0.0.0/svc-how-to-use.md" target="_blank"><em>Help us improve this page</em></a>&nbsp;<img src="{{ site.baseurl }}common/images/newWindow.gif"/></p>
<p><a href="https://github.com/magento/devdocs/blob/master/guides/m2devgde/v1.0.0.0/svcs-framework/svc-how-to-use.md" target="_blank"><em>Help us improve this page</em></a>&nbsp;<img src="{{ site.baseurl }}common/images/newWindow.gif"/></p>

Before interacting with a service, you must be familiar with the service interface, including input/output data structures defined by the corresponding schema. Services are defined by PHP interfaces, so developers can simply acquire an instance of the service and invoke the appropriate method directly. You can also access services using REST and SOAP calls.

Expand Down