Archived

This forum has been archived. Please start a new discussion on GitHub.

how can construct apache +ice +mysql?

now ,our company website is construct by apache +mysql .
but now my boss want to change this struct to apache+ice+mysql
ice can be add to it?
i don't know the ice can do it .everyone who have the samilar experience can tell me how can do ? thanks
my email:wuliudan@gmail.com

Comments

  • benoit
    benoit Rennes, France
    Hi,

    You can use IcePHP in your PHP scripts deployed with the Apache web server. Your IcePHP scripts will communicate with an Ice server that talks to your MySQL database server. I recommend to take a look at the IcePHP documentation in the Ice manual here and the IcePHP demos included with your Ice 3.3.0 distribution for more information on IcePHP.

    Cheers,
    Benoit.
  • thanks,i will try it.
    that's mean that in the server, i can use any language that i favouriate to communicate with mysql ,not only php?
  • can use ice to realize database cache ?

    i mean that can use ice to implement the databse cache?
    when the request is large, our mysql server can't endure,
    such this condition,i want to put some data which user frequently access
    in cache. in order to improve performance
    i don't know ,in ice , can i find the samiliar way to do it?
    or can i use memcache and ice together?
    thanks
  • matthew
    matthew NL, Canada
    The answer to all of those questions is yes :) I would first try without memcache, since you can most likely implement smarter application specific caching with Ice. I would look at the evictor pattern, as outlined in section 28.8.4 of the Ice manual.