Re: MissionControl in a Microsoft-only environment
Posted 12 years 7 months ago
The problem is the installation uses mysql-specific queries. Up to this point the vast majority of Joomla extensions assume you are using mysql and there is very little support for other databases even though technically it's now possible with Joomla 2.5.
Developing on for Windows and specifically SQL Server (which is a commercial db server) is not as simple or convenient as developing for a completely free LAMP stack that you can install on any computer. Windows, Mac, Linux etc. It's extra difficult when the extension in question is a GPL labour-of-love project like MissionControl.
Now if some die-hard windows users want to pick up the slack and sort out the issues, i'm more than willing to integrate those back into the distribution.
My personal opinion is that your going to have a really tough time building a Joomla site on SQL Server if you plan on using any third-party extensions. I would not advise it at this point in time.
Definitely aware, and agree that I've got a tough road, setting up this project.
But, like you say, MC is a labor-of-love.
If an individual (such as myself) were inspired to provide MSSQL translations, would I be looking to simply update the installation SQL files? (I'd assume they'd need to be translated for the template, modules, and plugins)
Or does the code need to be updated, to leverage the JDatabaseQuery classes?
If you'll provide some basic guidance, I'll do my best to help keep MC at the forefront of Joomla development.
(because, what while 99% of J! users *are* on MySQL, I hope you'll agree, that the possibilities in the future are amazing and tantalizing, once J!-app-devs get on board)
Re: MissionControl in a Microsoft-only environment
Posted 12 years 7 months ago
Alright.
I've gone through the modules and plugins, and updated the helpers to use the JDatabaseQuery API. (changes attached)
I've tested them on 2.5.4 installs, and am getting back data exactly as before.
Now that the queries have been updated, I'll start to update them as best I can, to be SQLSVR-compatible.
I also haven't looked at the template yet. I was going to save that (the best?) for last.
Re: MissionControl in a Microsoft-only environment
Posted 12 years 7 months ago
There was an added set of queries in the rokusersstats module for MissionControl 2.5. This gets the size of two audit tables. This is very msyql code, and i'm not sure it's even possible with the jdatabase classes. Did you run into trouble with that one?
Re: MissionControl in a Microsoft-only environment
Posted 12 years 7 months ago
I'm 99% finished.
There's still testing to be done on the SQLSRV changes, but if you'll run this code through your normal test-cases, I think everything should [still] be working for MySQL.
Hopefully I can get the MSSQL tests done soon.
(I'm providing it early, so you can vet the code when/if you've time)