3.2 Directory Climbing in Magento Layout

piaoling  2011-05-03 15:16:08

Just a quick note on some updates I’ve made to the Layouts, Blocks and Templates article. Previously, the example code given had demoed a technique for storing your phtml template files along with your module files by climbing the directory tree up to app/, and then back down to your module template="../../../../../code/local/[etc...]" One of the early Magento Books I’d read included the technique, and demoing it in the article re-enforced where Magento stored its templates in relation to module files. I’ve since rewritten the article to remove all referenc......

类别 :  magento(258)  |  浏览(3196)  |  评论(0)

3.1 Layouts, Blocks and Templates

piaoling  2011-05-03 15:14:55

Continuing along with Magento, we’re going to skip models for the time being, and jump to the right side of our flowchart to look at Layouts and Blocks. Unlike many popular PHP MVC systems, Magento’s Action Controller does not pass a data object to the view or set properties on the view object. Instead, the View component of Model, View, Controller directly references system models to get the information it needs for display. One consequence of this design decision is that the View has been separated into Blocks and Templates. Blocks are PHP objects, Templates are “raw&r......

类别 :  magento(258)  |  浏览(6483)  |  评论(0)

2 Magento Controller Dispatch and Hello World

piaoling  2011-05-03 15:13:49

The Model-View-Controller (MVC) architecture traces its origins back to the Smalltalk Programming language and Xerox Parc. Since then there have been many systems that describe their architecture as MVC. Each system is slightly different, but all have the goal of separating data access, business logic and user-interface code from one another. The architecture of most PHP MVC frameworks will look something like this. A URL is intercepted by a single PHP file (usually called a Front Controller) This PHP file will examine the URL, and derive a controller name and an action name (a pro......

类别 :  magento(258)  |  浏览(3204)  |  评论(0)

The Magento Config

piaoling  2011-05-03 15:12:51

The config is the beating heart of the Magento System. It describe, in whole, almost any module/model/class/template/etc than you’ll need to access. It’s a level of abstraction that most PHP developers aren’t used to working with, and while it adds development time in the form of confusion and head scratching, it also allows you an unprecedented amount of flexibility as far as overriding default system behaviors go. To start with, we’re going to create a Magento module that will let us view the system config in our web browser. While this is all wrote copying and pas......

类别 :  magento(258)  |  浏览(3262)  |  评论(0)

获得magento菜单分类代码

piaoling  2011-05-03 10:22:37

magento获得菜单分类代码 magento获得菜单分类代码,此代码在magento 1.4.2版本中使用正常,可以放在任意的.phtml文件中。此代码可以用来套用各种js菜单,实现各种各样的菜单效果。此代码来自互联网,非原创。代码如下   <div class="box layered-nav"> <div class="head"> <h3><?php echo $this->__('Browse By') ?></h3> </div> <h4><?php echo $this->__('Category') ?></h4> <div class=&qu......

类别 :  magento(258)  |  浏览(3486)  |  评论(0)

千寻网之败

piaoling  2011-05-02 18:22:25

3月11日,京东商城CEO刘强东在微博里正式确认收购,为悬念十足的千寻网去向揭开了谜底。有了解该交易的人士透露,价格在500万美元左右。 2009年4月高调面世,上线不足两个月主帅离职,之后发货慢、假货泛滥等负面消息一直伴随着千寻网。 京东商城的入主给了千寻网一个归宿,不至于沦落到倒闭的地步,但从超过一亿元的投资到以几百万美元出手,如此大的差距仍然耐人寻味。 华丽出生 千寻网由北京匹尔夏科技发展有限公司在2008年12月15日推出的专营海外商品的购物网站......

类别 :  创意(4)  |  浏览(4375)  |  评论(0)

Magento Architecture

piaoling  2011-05-02 18:10:19

  Page request flow   Preliminary core modules dependency diagram ......

类别 :  magento(258)  |  浏览(3553)  |  评论(0)

Magento Architecture

piaoling  2011-05-02 17:50:59

Magento Architecture Page request flow Preliminary core modules dependency diagram   Preliminary core modules dependency diagram   ......

类别 :  magento(258)  |  浏览(3558)  |  评论(0)

Magento Users Guide

piaoling  2011-05-02 17:48:05

Magento Users Guide Chapter 1: Introducing Magento Chapter 2: Getting started with Magento Chapter 3: Set Up Your catalog Chapter 4: Get Ready for Selling Chapter 5: Promotions, Marketing and Content Pages Chapter 6: Customers Chapter 7: Reports and Analytics Chapter 8: Managing Orders Chapter 10: Upgrad......

类别 :  magento(258)  |  浏览(3507)  |  评论(0)

电子商务时代 浅论电子商务中的客户关系管理

piaoling  2011-05-02 17:45:36

从客户关系管理的概念出发,联系当前实际,分析了企业客户服务水平在电子商务时代增强企业的竞争力方面发挥着的重要作用。 1客户关系管理的概念 客户关系管理实际上并不是一个新生事物,早在20世纪80年代,自动销售系统SFA(Sale Force Automation)和电话、计算机集成系统(CTI Computer Telephony Integration )就已经在国外的企业中广泛应用。SFA系统可以帮助企业管理销售定额计算销售人员的提成,预测利润,协调销售人员的活动;CTI系统可以为客户提供 800电话服务......

类别 :  创意(4)  |  浏览(4561)  |  评论(0)
  • Page:63/145  1448 Blogs
    <<
    >>
    20088
    周日 周一 周二 周三 周四 周五 周六

    文章分类