loading component with Platform

100 views
Skip to first unread message

Viktor Iwan

unread,
Sep 12, 2012, 1:46:24 PM9/12/12
to joomla-de...@googlegroups.com
hello, i already download platform and create my first "hello world". At the moment i want to load my component in joomla platform so i can build some api for mobile apps. Is there any example for this?

Thanks

Chad Windnagle

unread,
Sep 12, 2012, 2:37:41 PM9/12/12
to joomla-de...@googlegroups.com
Someone correct me if I am wrong, but as far as I have explored with the platform, you can't just take a component, from say Joomla, and make it run on the platform. 

That said, if you haven't yet, check out:


There's some examples here of how you can instantiate the www web class to get the platform running. I found the Picasa example really well done because it shows how different things, like themes, are incorporated and used, and it even has a bit of a mobile focus.

-Chad

Regards,
Chad Windnagle
Fight SOPA

Sam Moffatt

unread,
Sep 14, 2012, 3:53:13 AM9/14/12
to joomla-de...@googlegroups.com
In theory if you provide enough of the compatibility you could load
the models and controllers. You'd need to define stuff like
JPATH_COMPONENT and what not but presuming you set all of that you
should be able to re-use the code.

Cheers,

Sam Moffatt
http://pasamio.id.au
Reply all
Reply to author
Forward
0 new messages