最近有朋友问我,我是如何开始magento(麦进斗)开发的,因为他因为工作的需要也不得不开始使用magento来开发。再这里我就想把我怎么开始mgaento(麦进斗)开发的说明一下:
1、工欲善其事,必先利其器。
好的ide能帮助你快速的适应magento(麦进斗)的开发。就我而言我主要是使用eclipse和notepad++这种轻重交替的开发ide来开发,至于版本控制工具,用了eclipse自然我使用的就是SVN了。原先因为magento(麦进斗)是基于Zend Framework而来的,所以,我有一段时间是使用的Zend studio来进行开发。但是,因为使用习惯的原因,最后我还是选择了我上面说的两个ide来开发。
2、参考资料
这些参考资料是我当时从magento(麦进斗)开发到现在收集的比较好的资料。
window系统的安装配置:http://www.magentocommerce.com/wiki/general/installing_on_windows_with_xampp_and_wamp
3、好的博客
当然,如果你想要使用好magento(麦进斗)的话,光是看上面的这些是不够的,下面我给你推荐一些blog,你如果将这些东西全看了 的话,对你的提升会有很大的帮助:
http://www.westwideweb.com/wp/category/magento/
http://inchoo.net/category/ecommerce/magento/
http://www.exploremagento.com/category/magento
magento(麦进斗)的配置真的是很烦,在使用过程中你会遇到各种各样的问题。所以,我在这里列举一些我碰到的很烦,但是很好解决的为,希望能帮到你:
1、安装后在管理面板上的登录问题。
http://www.casualcommerce.com/2009/02/magento-notes-fix-for-admin-login-problem/
app/code/core/Mage/Core/Model/Session/Abstract
and open up varien.php
, and comment out
// set session cookie params
session_set_cookie_params(
$this->getCookie()->getLifetime(),
$this->getCookie()->getPath() //remove this after putting on server (leave the comma) ,
//$this->getCookie()->getDomain(),
//$this->getCookie()->isSecure(),
//$this->getCookie()->getHttponly()
);
\app\design\adminhtml\default\default\template\notification\window.phtml
getChartUrl(false)
改成
getChartUrl(true)
在
\app\design\adminhtml\default\default\template\dashboard\graph.phtml
注意:上面网站基本上是全英文的。