This why I suggested you setup up a sub-domain (store.whatever.com) to host your e-store with a separate virtual directory and document root so that your e-store is running on a separate site than CakePHP. If you'd like to use the same styles across the two sites, you could reference it absolutely with the full URL (i.e. in your e-store.whatever.com header, you could <style> @import('http://www.whatever.com/css/mycommonstyles.css')) or use symlinks if you're using Apache.
If this is NOT what/how you want to integrate the VISA Components, you need to explain carefully what you are trying to do; right now, we're all guessing, and I'm amazed that we're all still trying to help at this point. On Tue, Jul 7, 2009 at 3:21 PM, simon...@gmail.com<simon...@gmail.com> wrote: > > I did an e-store like this one last month using php and asp. Without > no problem. > > What is the difference with Cake and PHP is that it use methods. If I > call a webpage with the name of page2.asp I have to create a method > page2.asp or page2 and remove the .asp. > > Probably it will be rewritten to PHP to simplify the integration with > Cake. > > But if I could do it with PHP I should be able to do it with Cake > easily and more quickly. > > > > On Jul 7, 10:28 am, Alastair <m...@alastairmoore.com> wrote: >> > I know that, but sometimes you have no choice but to use two separate >> > languages for you to build an e-store. >> >> > I did program this website without knowing that I was going to use the >> > system of VISA. >> >> > It's kind of weird that nobody gived me a straight answer. >> >> What answer would you like us to give you? >> >> You asked "What is the best way for me to use ASP with CakePHP?" >> >> I said "You can't really integrate PHP and ASP other than sharing the >> same database." >> >> That is your straight answer. >> >> You can't. You can share the database and that is all. If you have ASP >> code for this shop, I can't see it being too difficult to rewrite that >> code in PHP. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---