Magento XMLConnect...what is it and how can I use it? [closed]
Asked Answered
G

1

17

Can someone explain what the XMLConnect extension is and what it is used for? I know that in general it can be used to develop a mobile friendly site, but that's about as far as I've gotten with my Google searches. Does anyone have experience working with this extension and can provide some details and/or examples?

Thanks!

Gastrolith answered 27/10, 2011 at 20:5 Comment(2)
This type of question doesn't really belong on Stack Overflow, as it's not a programming question. You should take a look at area51.stackexchange.com/proposals/25439/magento and see about getting a proper place to put these kind of questionsAplanospore
Can a moderator move this to magento.stackechange.com? I think it would certainly be an appropriate question there.Quantity
D
21

XMLConnect is, essentially, an XML service. One way to think of a "normal" Magento website is

  • Backend code adds things to carts, fetches products from database, etc.
  • Execution is handed off to the layout system
  • Layout system makes HTML/Javascript/CSS

Magento has a product called Magento Mobile, which lets you create an iPhone or Android application to sell products from your Magento system. Magento Mobile works something like this

  • Backend code add things to carts, fetches products from databases, etc.
  • Execution is handed off to an XML rendering system
  • XML is sent back to the phone
  • The binary application sitting on the phone processes the XML and makes the pixels on the phone look and act like a store

XMLConnect is the module that lets Magento do this. It creates XML requests/responses.

Additional Reading: Develop your own Magento mobile application

Demarcation answered 27/10, 2011 at 21:2 Comment(2)
Thanks Alan! As always, very helpful!Gastrolith
With latest version and RWD theme seems like this is deprecated.Heyes

© 2022 - 2024 — McMap. All rights reserved.