If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
... funny thing, I spelled "compiler" with a "d" at the end - TWICE! :-)
We are still mostly Windows and Linux at the office, but Macs have started appearing a while back first as test machines to help our Mac clients, and now they are used by some of our staff full time. We have couple people who will not go back to Windows ever again... I'm myself switching right now to a MacBook Pro. My favorite Wintel laptop line - IBM ThinkPad - has been bought out by Lenovo and it shows. My 2 month old absolute top of the line ThinkPad T61p feels cheap, compared to even my old trusty 3 year old T42p (when IBM used to make them) and feels much slower than a MacBook Pro with the same CPU and memory - even when running Windows natively via Boot Camp. <sigh> Apple really did come up with hardware that "runs Windows better than Windows" (an old OS/2 line).
So, with that said, will Miva Merchant be releasing a native OS X compiler in the future? :-)
I believe Miva's compiler is a Windows app, which means it will only run on Windows. To make it run on your Mac you will need to either boot it up in Windows mode (Boot Camp) or use either VMware Fusion or Parallels to run Windows apps on your OS X desktop (without dual-booting into Windows).
We use some Xserve and Xserve RAID systems, but those are used mostly for media content delivery (QuickTime streaming). I don't know if there's going to be much demand for Miva hosting on Xserve... at least not short term. While Apple notebooks and desktops have decent and competitive pricing, the server line is still on the more expensive side, making it a more specialized solution for media delivery rather than general web hosting. Until you can buy a decently configured Xserve for under $5,000 (rather than $10,000 at current prices), I can't see many hosting companies rushing to buy a bunch of Xserves for Miva Merchant hosting... especially since the benefits offered by Xserve would be completely lost on Miva clients, as they wouldn't be able to take advantage of any of the OS X server features in their stores.
If anything, I can perhaps see Miva Mia or the Miva Script Compiler released in native versions for Mac OS X, but I don't think Miva Empresa for OS X is something that is needed at this time.
Basically what did was write a Textmate bundle that handle syntax highlighting and all that good stuff. I wrote some snippets that filled out a lot of basic attributes for typical Miva Script declarations. Really quickened development time, as I spent less time typing repetitive code for looping through database results or writing an MvASSIGN statement.
The whole process worked by having textmate call a simple ruby script. That script did some really simple preprocessing to include additional files. That final .mv file was then sent via POST to a PHP script in my VMWare virtual machine. That PHP script fired up the compiler, compiled the file and placed it in the appropriate place in my 4.24, 5.0 or 5.5 store.
From there I reloaded my browser in OS X and saw changes. It took me a while to get it all working, but in the end it was a pretty nice setup.
The sample files I provided in that blog post have some fairly specific stuff to my former setup, but it should be, more or less, clear what was going on.