joomla-projects / webservices

Webservices working group repository
GNU General Public License v2.0
16 stars 9 forks source link

New MVC for webservices component #22

Closed fastslack closed 8 years ago

fastslack commented 9 years ago

This is an initial approach to new MVC move. All controllers seems to be working fine but test on ajax is needed. I changed the old way to call ajax to a new way using an specific controller (AjaxController.php). Save option seems to be working fine, creating the xml file and wsdl too, but also needs a detailed test.

All comments are very welcome.

Test instructions

1) Get GIT files 2) Install Joomla! 3) link or copy $GIT/component/admin to $WWWROOT/administrator/components/com_webservices 4) copy $GIT/component/webservices.xml to $WWWROOT/administrator/components/com_webservices (should we copy it to $GIT/component/admin?) 5) Go to discover on Joomla! installation and install the extension 6) Edit $WWWROOT/administrator/components/com_webservices/webservices.php line 17 and put the real path of the GIT files 7) Edit $GIT/config.json and set your database credentials

chrisdavenport commented 9 years ago

Thanks @fastslack

Can you update the component/webservices.xml file to reflect the changes made to the file structure?

wilsonge commented 9 years ago

At a quick glance over this looks really impressive! I'll make sure I have a play around during the week :)

javigomez commented 9 years ago

Super! Thanks Matias

javigomez commented 9 years ago

Agg Im in mobile and cant do proper inline comments. Ill check in deep later but just found by chance a small typo at component/admin/Webservices/Helper.php. line 14,should say Webservices Component instead.

fastslack commented 8 years ago

Merged tests changes. Thanks @javigomez

javigomez commented 8 years ago

Tests are still Work in progress. Still a few changes are needed to make it finally work. but almost there.