Hello Matheus Mendes
I am in the process of setting up a new site using Joomla 1.5 and have been watching the progress of Magneto the last few days. Could you or someone let me know where things are at. I have been testing with Virtuemart but I’m not completely impressed. The things I need to do are a bit to complex in Virtuemart. I know of a site in Massachusetts USA that is using Magento but he is using something besides Joomla.
Matheus, nice work. What reference materials would you recommend looking at for someone attempting to write an integration with another CMS suite or other software as far as auth/login sync are concerned? I’m interested in writing something to integrate Magento with a homebrew (eventually open source) application and I would like to use the homebrew login and have it automatically log the users into the Magento side.
If you are looking for that kind of login integration you just need to look at the session management and the login management. The approach taken by JFusion where they rewrite the Joomla login to use a different system seems to be the easiest. What I would do is take your login functions and instead of querying your own database of users/passwords, query the Magento user database to authenticate that. As you can see in the JFusion plugin it is just a SQL statement against the Magento database. The same with the Session routines. Include the Mage::App() in your CMS and use the Session creation functions of Magento instead of your own.
For those interested in Joomla / Magento integration. Perhaps you are aware of the JFusion project (that bigodines pioneered the integration on) - it is continuing and has the ambition to integrate several third-party programs including Magento. Marius, the JFusion developer is having some detchnical dificulties with that but is about to publish a developers guide. His recent answer on the integration work developments is:
“Only the phpBB3 JFusion plugin has the capability of being a JFusion slave at the moment. The other plugins (including magento) do not have the updateUser() function that allows JFusion to create/update a magento user. I would certainly appreciate the help of the community for creating these functions. That is why I added the developers manual on my todo-list for the next couple of days, as this guide would open up development to other developers.”
Now see, THIS is something that Varien should step up and assist with - if only with the coding issues.
I mean, code is little more than numbers, letters and symbols arranged in a particular order so as to elicit an action.
So, why can’t Varien and Marius collaborate on what should be a relatively simple code configuration/fix for this integration?
So, why can’t Varien and Marius collaborate on what should be a relatively simple code configuration/fix for this integration?
Because I don’t think it’s a top priority for Varien. I would rather them focus on Magento, improving the performance and speed, adding more ecommerce features, etc. Things like WordPress, Joomla, Drupal, etc., integrations should be left up to other developers. In fact, a WordPress integration extension was just released today.