24/7 Support - 800.608.6482

Miva Merchant Community Forums

Page 2 of 2 FirstFirst 1 2
  1. #11
    Join Date
    Apr 2006
    Location
    Michigan
    Posts
    832

    Default Re: mac & compiler

    I've seen an explosion in end user Mac use just by frequenting the airport terminals everywhere. Now this thread. I only wish I'd bought apple stock on 2002 :(

    Anyway with all this peek in OS X use is there any possibility the Apple server hardware and the Xserve software could have any potential performance merits for Merchant ?
    Thanks,
    -Barrett
    Favorite Host Hostasaurus.com
    Order Processing by Shipworks.com
    Kindly Suggesting to:
    *Dump Explorer and http://GetFireFox.com
    *Post a meaningful subject line.
    *Click the # button before pasting code

  2. #12
    Join Date
    Aug 2007
    Posts
    7,534

    Default Re: mac & compiler

    While we've seen an explosion in Mac use as well at the user level, I've not seen the same with Xserve.

    If I'm mistaken however and there's demand, I don't think it would be a big deal since our engine already runs on FreeBSD.
    Thanks,

    Rick Wilson
    President
    Miva Merchant
    rwilson@mivamerchant.com
    http://www.mivamerchant.com

  3. #13
    Join Date
    Feb 2006
    Location
    San Diego, CA
    Posts
    3,798

    Default Re: mac & compiler

    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.


    dotCOM host - Premier eCommerce Hosting
    Providing PCI compliant e-commerce hosting, development and US-based support since 1997


    http://www.dotcomhost.com - info@dotcomhost.com

    1.888.321.6239 toll-free USA
    1.619.269.7442 international
    Datacenters in San Diego, CA - Phoenix, AZ - Ashburn, VA - Amsterdam, NL
    Cloud Server and Dedicated Server hosting in all four locations

  4. #14
    Join Date
    Mar 2006
    Posts
    944

    Default Re: mac & compiler

    You have my vote for the compiler on mac.
    --
    Scott Zielinski
    -----------------------------
    Sebenza.com - Miva Merchant Partner
    MIVA Development & MIVA Modules

    SearchSpring.net - Strategic Miva Merchant Partner
    How many sales is your search page losing?

  5. #15
    Join Date
    Sep 2006
    Posts
    18

    Default Re: mac & compiler

    I don't write Miva Script anymore, but I wrote this post a few months ago sort of explaining my process for compiling from OS X.

    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.

  6. #16
    Join Date
    May 2009
    Posts
    24

    Default Re: mac & compiler

    How hard would it be to recompile the linux version to run on a Mac? (I mean for the Miva folks to do that, since the source is not available to most of us).

    It would be great to make the Mac a supported platform for at least the compiler, though having Empresa run on the Mac would be helpful for me during development so I could use my Mac for development/testing.

    Of course I would prefer to see Empresa running on 64bin Ubuntu Linux first.

  7. #17
    Join Date
    Feb 2006
    Location
    San Diego, CA
    Posts
    3,798

    Default Re: mac & compiler

    64-bit Red Hat Enterprise Linux first, would be nice. That is THE most popular Linux distribution used by hosting companies (or CentOS, its binary equivalent cousin, without the Red Hat logos).

    Mac OS X - I can see that being nice for Miva Mia desktop development, but since OS X is already Unix based, getting either MivaVM or Miva Mia to run on that platform should be trivial. I'd actually venture into saying MivaVM would be all that's needed, forget Miva Mia. With MivaVM you can have 100% replica of your server environment right on your desktop, which would make for writing or building anything Miva related on a Mac the ultimate development platform.


    dotCOM host - Premier eCommerce Hosting
    Providing PCI compliant e-commerce hosting, development and US-based support since 1997


    http://www.dotcomhost.com - info@dotcomhost.com

    1.888.321.6239 toll-free USA
    1.619.269.7442 international
    Datacenters in San Diego, CA - Phoenix, AZ - Ashburn, VA - Amsterdam, NL
    Cloud Server and Dedicated Server hosting in all four locations

  8. #18
    Join Date
    Sep 2006
    Posts
    18

    Default Re: mac & compiler

    Quote Originally Posted by rberger View Post
    It would be great to make the Mac a supported platform for at least the compiler, though having Empresa run on the Mac would be helpful for me during development so I could use my Mac for development/testing.
    If you read my blog entry that I posted earlier, you can follow the exact same methodology I used. Write a script that sends off miva script text to something that saves the uncompiled file and invokes the compiler on whatever platform the compiler is running on.

    I did this locally, giving myself the illusion of compiling and testing from my mac. I also did this for tiny PHP app for Viking Coders where we needed stuff custom compiled and distributed on the fly. This could all be easily be written in whatever language you want that can invoke an executable.

    Here's the PHP source for my own local compilation:
    http://sifent.com/mivascript_textmate/compile.php

    In that blog entry, A LOT of the source posted has a lot of hard coded stuff (paths and whatnot) in there, but it can be easily modified to fit your system needs or abstracted to make it usable in a more general fashion. It's a bit of a hack, but I was ultimately just interested in getting something to work since my editor of choice is Textmate.

  9. #19
    Join Date
    May 2009
    Posts
    24

    Default Re: mac & compiler

    I did grab your textmate bundle and am truely grateful for that. I'm still early in the learning curve and so trying to also figure out how to use the php remote mechanism, translating it to use the Linux mvc, reverse engineer how you had your files layed out, etc. was too many levels of indirection for me right now.

    I did finally figure out how to use the Miva Build System and have a set up using file sharing with a linux system from my Mac to do the compiles. Its a few steps to load the modules into the Miva Merchant server, but its working well enough for me now.

    There is quite a lot to learn just to get a module to build and load let alone to figure out how to accomplish something useful.

    But after about a week, I'm pretty productive and churning thru our requirements.

    Your Textmate bundle really helped in terms of making things more pleasant though!


    Quote Originally Posted by luis View Post
    If you read my blog entry that I posted earlier, you can follow the exact same methodology I used. Write a script that sends off miva script text to something that saves the uncompiled file and invokes the compiler on whatever platform the compiler is running on.

    I did this locally, giving myself the illusion of compiling and testing from my mac. I also did this for tiny PHP app for Viking Coders where we needed stuff custom compiled and distributed on the fly. This could all be easily be written in whatever language you want that can invoke an executable.

    Here's the PHP source for my own local compilation:
    http://sifent.com/mivascript_textmate/compile.php

    In that blog entry, A LOT of the source posted has a lot of hard coded stuff (paths and whatnot) in there, but it can be easily modified to fit your system needs or abstracted to make it usable in a more general fashion. It's a bit of a hack, but I was ultimately just interested in getting something to work since my editor of choice is Textmate.

  10. #20
    Join Date
    May 2009
    Posts
    24

    Default Re: mac & compiler

    It looks like "luis" website no longer exists and I can't track down any copies of the mivascript textmate bundle on the Internet or where he went. So I've posted a copy of his bundle at https://github.com/rberger/Mivascript-Textmate-Bundle

    Quote Originally Posted by luis View Post
    I don't write Miva Script anymore, but I wrote this post a few months ago sort of explaining my process for compiling from OS X.

    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.

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •