Magento Commerce development environment on Windows

Posted by Hariharan Vadivelu on

Step 1: Windows stack for PHP development

There are two popular bundled solutions available which comes with everything you need to run a PHP application (E.g. Apache, MySQL, PHP)

Download wampserver for windows or xampp
http://www.wampserver.com/en/
http://www.apachefriends.org/en/xampp-windows.html

wamp installation should be straight forward, click through the screens and once the installation is done you should find a wampserver tools on the system tray as show in the screenshot below, you can start all the services by clicking on the last option on the menu "Put Online", once it is started type http://localhost on the browser and you should be able to see default wamp server page.






Edit php.ini file to include following entry in F:\wamp\bin\apache\apache2.2.22\bin\php.ini


This will enable xdebug which will be later used from eclipse for debugging PHP application.

[xdebug]
xdebug.remote_enable = true
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable = true
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "f:/wamp/tmp"


Step 2: Eclipse IDE for PHP development


For existing eclipse install you can install Eclipse PDT Plugin as follows, This will install PHP development perspective into the existing eclipse environment, if you don't have an existing eclipse setup you can download it from http://projects.eclipse.org/projects/tools.pdt

For existing eclipse setup you can install PDT plugin as follows.
Help -> Install New Software


Create a new PHP project, notice the directory location, this should point to www folder inside the wamp installation folder.


You can download the latest version of Magento zip from this location http://www.magentocommerce.com/download
Once the project is created import all the files from magento folder, After you import the package you may notice DLTK indexing takes long time to finish, this is a trade off.


If you let it complete it helps you with autocompletion else you can disable it by partially disabling packages in magento that should not be indexed, exclude packages as shown in the screenshot below.




Before we runt he application make sure PHP executable is configured to make use of php engine in WAMP installation folder, it should appear as shown in the screenshot below.





Now you can click on the index.php and launch it as shown in the screen shot below, for debugging you should select "Debug As" ->"PHP Web Application", This should bring up Magento install page with eclipse debugger view.





37 comments:

  1. good job......it's easy to understand.....
    thanks for this post.
    _____________________________________
    Magento Web Development India

    ReplyDelete
  2. Hi the information on this blog is just amazing it keeps us coming back time and time again ,personally i met my wife using this site so i couldnt love it any more i have done my best to promote this blog as i feel that others need to see this thang ,cheers for all your effort spent in making this fabulous site

    ReplyDelete
  3. Thanks for sharing as it is an excellent post would love to read your future post
    Magento ecommerce Developer

    ReplyDelete
  4. Thanks for the good explanation. As a Magento developer it is very useful for me and I don't have hands on Windows. It is a new information I learnt today with coding

    ReplyDelete
  5. Your current material consistently uses a lot of really up to now details. Where do you come up with this? Just saying you are very amazing. Thanks againMagento Web Development Company Bangalore

    ReplyDelete
  6. Great post on Magento commerce development. I found very useful info from this post. Thank you very much.

    Magento Development Company

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. Great Read! I am impressed on how you make your article easy to understand. I'll come back for more :D

    Japs Buidon is a Social Media Specialist and belongs to a team of Magento Developer in Florida. For more tutorial and tips you can follow him here -> alwaysopencommerce.com

    ReplyDelete
  9. I would like to thank you for sharing this great information with us. Thanks for nice post. Website Design Company Bangalore | Web Designing Bangalore

    ReplyDelete
  10. magento website are developed so that the website looks attractive and with modernized look.Magento Development India

    ReplyDelete
  11. It is complicated to me now, the efficiency and significance is annoying. Thanks for sharing. Magento Development Companies in Bangalore

    ReplyDelete
  12. Magento provides enhanced browsing experience to the visitors through features like multiple images per product, zoomed images, product reviews, stock availability, option of sharing the product with friends via email and other related capabilities.
    Web Design Company in Bangalore | Logo Design Company in Bangalore

    ReplyDelete
  13. It was very nice blog to learn about Selenium.Thanks for sharing new things.selenium training in chennai

    ReplyDelete
  14. Very interesting blog to read. You are providing very informative tips to us. Thanks for sharing Web Development Company Bangalore

    ReplyDelete
  15. Why To Approach Magento Web Development Company? Ask me Benefits of Working With Magento Web Development Magento, formed on open-source platform, is a Best feature-rich e-commerce technology with the help of which online merchants can control over the content, look and functionality of their e-commerce store. In order to give a similar kind of environment and experience to users on desktops, laptops, tablets and Smartphones an individual website is designed by Magento developers. Source-https://www.acmewebtechnology.com/blog/benefits-of-working-with-magento-web-development-service-provider

    ReplyDelete
  16. nice post Vendorzapp Compnay provides Mobile apps for small business, Ecommerce android apps India, iOS ecommerce apps, Ecommerce website Pune, Ready ecommerce website and apps. Android ecommerce apps then visit now Ecommerce android apps India, iOS ecommerce apps, ecommerce website for small business call us +91-9850889625

    ReplyDelete
  17. It is a great sharing...I am very much pleased with the contents you have mentioned. I wanted to thank you for this great article. Web Design Sydney ,Logo Design Sydney

    ReplyDelete
  18. Welcome a dedication of gratefulness is all together for the great offer and it will be profitable for a few people who are chasing down after down best site page building connection or so far working with webpage page regulating company.We in like way give quality Web Design and Web change advantage at sensible cost .

    best eCommerce Website developers companies in india
    experts in professional web designer company in bangalore

    ReplyDelete
  19. Great post! I am actually getting ready to across this information, It's very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.
    website development company Sydney

    ReplyDelete
  20. Magento Certified Developer want to differentiate themselves from the competition with the ultimate Magento credential. Magento ecommerce web design, Magento ecommerce website development.

    best eCommerce Website developers in bangalore |outsource magento ecommerce services india

    ReplyDelete
  21. Really nice and helpful post! Thanks. Learnt a lot from it :)

    ReplyDelete
  22. Magento is one of the most popular eCommerce platform, customizable shopping cart platforms available. If you have chosen Magento as your eCommerce platform (WebSite), Acelerar can offer you end-to-end support with our efficient and streamlined Magento Bulk Product Upload Services at the most economical rates and 24x7 Support. Our Experts have a wealth of experience working on Magento Product Upload Services on eCommerce platform.

    ReplyDelete
  23. Magento is one of the most popular eCommerce platform, customizable shopping cart platforms available. If you have chosen Magento as your eCommerce platform (WebSite), Acelerar can offer you end-to-end support with our efficient and streamlined Magento Bulk Product Upload Services at the most economical rates and 24x7 Support. Our Experts have a wealth of experience working on Magento Product Upload Services on eCommerce platform.

    ReplyDelete
  24. Well, very good post with informative information. I really like your post. It’s really informative and interesting.
    There are numerous different stages utilized for offering items online like WooCommerce, PrestaShop, huge trade yet Magento is exceptionally well known among all. It is one the most basic component of Magento Development that it is SEO friendly.
    Magento Development is utilizing worldwide for any sort of business either little or vast scale numerous ventures. Searching for Magento Development Company? We are driving Magento Ecommerce Website Development Company.

    ReplyDelete
  25. Get the Best WordPress product upload Services From Us With the drastic facelift that the retail sector has seen in the recent past, the internet gas become the hub for most of the small, medium as well as large scale businesses that are involved in the same.The ecommerce has seen a monumental growth prospective over the last couple of years and the trend is expected to remain the same for the foreseeable future as well. In this regard, what concerns the businesses and the online retail outlet is the data entry aspect. Tech data entry India provides a number of products and services to cater to the WordPress Bulk product upload Services.

    ReplyDelete
  26. To fulfill your online store design & functionality requirements Hire WordPress WooCommerce Developer who are expert in programming and helps you in reach out your business goals. You can Hire WooCommerce Developer from our company from our company in affordable price. we are renowned for best quality solutions within goven deadline so hire dedicated WooCommerce Experts India make your online marketplace a unique one that attracts everyone and grows your online sales. our company has Expert WooCommerce Programmers in India that have potential to take challanges relevant to their skills.

    ReplyDelete
  27. Thanks a lot for that information. magento ecommerce development uk That was a really Intresting post and I would really like to know more.

    ReplyDelete
  28. Thank you for sharing excellent information. Your website is very cool. Fully useful your blog post... Online Shopping Website In India

    ReplyDelete
  29. Nice Blog
    Sara Analytics is the best magento website development company offering magento ecommerce development services all around the world.

    ReplyDelete
  30. Thank you so much for sharing. Keep updating your blog. It will very useful to the many users Website Designing Bangalore | Best Web Design Company Bangalore

    ReplyDelete
  31. Hi,

    Thank you so much for taking effort to share such a useful information. I will definitely share your articles to my online portal Game Development Development blog.

    Magento Website Development
    Aapthi Technologies
    Web Development Company

    ReplyDelete