首頁
外貿B2C模板開發
zencart 開發
Magento開發
經典客戶案例
zencart 報價
外貿主機
聯系我們
 
 
首頁 ::  Magento開發 ::  Magento SEO優化 ::  Magento設計術語(Magento Design Terminologies)
 
Magento設計術語(Magento Design Terminologies)

  作者: Magento   |   2010-06-29     閱讀次數:1057     關鍵字:Magento程序,Magento程序修改


      主要講述以下這些magento術語:
Website, Store and Store View
Interface
Themes
Layouts
Templates
Skins
Blocks
Structural Blocks
Content Blocks
Website and Store站點和商店
      一個站點可以是很多商店的集合。商店之間可以共同享有客戶和訂單信息甚至購物車。一個商店可以有很多商店視圖(store views)
場景1
magento-design-terminologies1
    上面這個圖就展示了Dubloo Inc這個公司針對不同客戶制作的不同商店和商店視圖Scenario 2
magento-design-terminologies2
A company called My Laptops wants to open two separate websites that both sell laptops but at differing prices. They also want to offer English and Spanish language options per site, each carrying its own selected items according to language selection. They also need to synchronize customer and order information per site. In such scenario, store view would define each English and Spanish branch under the according website. A website would define “My Laptops” and “Cheap Laptops”.
Scenario 3
magento-design-terminologies3
A company called Bongo’s Instruments wants to create an online presence. With no other branch of stores, Bongo’s Instruments is the store as well as the website.
Back to TopInterface
magento-design-terminologies4
Interface is a collection of themes that determines the visual output and frontend functionalities of your store. An interface can be assigned on either the website-level and/or store view-level through the admin panel (Learn how to assign an interface to the website/store).
If you assign an interface in the website-level, all your stores will inherit the interface of your website. You can further assign an interface in the store view-level and store-, effectively overriding that of the website. Say you operate four different stores under a website called “John’s Panacea” – By studying the effects of each method as shown below, you can easily determine the method to employ for the design needs of your business.
1.Website-level declaration
magento-design-terminologies5
If you want to create a unifying look and feel for all four stores, you will assign an interface in the website level, in which case all four stores will inherit the interface of the website.
2.Store view-level declaration
magento-design-terminologies6
If you want to incorporate a separate look and feel per store, you can assign an interface per store-view, in which case the four stores will each carry its own unique look and feel.
Back to TopThemes
A theme is any combination of layout, template, locale and/or skin file(s) that create the visual experience of your store. Magento is built with the capacity to load multiple themes at once, therefore distinguishes themes into two large types:
Default theme
Every interface comes with a theme called ‘default’ which is the main theme of an interface. When you assign an interface to your store, the application automatically looks for this theme ‘default’ and loads it to the front-end. In order to customize your store design, you can either modify this theme alone, or create a non-default theme in addition and load it alongside the default. The default theme must contain all the required layouts, templates and skins to run a store error-free and hence is the lowest theme in the theme hierarchy.
Non-default theme
A non-default theme can contain as many or as little theme files as you see fit for your need. This type of theme is intended for use on creating temporary seasonal design changes to a store without having to create a whole new set of default theme—By creating a few images and updating some of the CSS, you can easily turn your store from a real bore to a stand-out seasonal Christmas store.
A theme consists of any or all of the following:
Layout (located in app/design/frontend/your_interface/your_theme/layout/)
These are basic XML files that define block structure for different pages as well as control META information and page encoding.For in-depth look into layouts, read Intro to Layouts)
Templates (located in app/design/frontend/your_interface/your_theme/template/)
These are PHTML files that contain (X)HTML markups and any necessary PHP tags to create logic for visual presentation.
Locale (located in app/design/frontend/your_interface/your_theme/locale/)
Theses are simple text documents organized on a per language basis that contain translations for store copy.
Skins (located in skin/frontend/your_interface/your_theme/)
These are block-specific Javascript and CSS and image files that compliment your (X)HTML.
Back to TopBlocks
Diagram 1. Structural Block (Indicated in blue)
magento-design-terminologies7
Diagram 2. Content Block (Indicated in orange)
magento-design-terminologies8
Blocks are a way by which Magento distinguishes the array of functionalities in the system and creates a modular way to manage it from both visual and functional stand point. There are two types of blocks and they work together to create the visual output.
Structural Blocks
These are blocks created for the sole purpose of assigning visual structure to a store page such as header, left column, main column and footer (Diagram 1).
Content Blocks
These are blocks that produce the actual content inside each structural block. They are representations of each feature functionality in a page and employs template files to generate (X)HTML to be inserted into its parent structural block. Category list, mini cart, product tags and product listing…etc are each its own content block (Diagram 2).
Instead of including template after template as a typical eCommerce application would in order to gather the whole (X)HTML output, Magento gathers and arranges page content through blocks.






Magento SEO優化的相關新聞


更早的新聞

 
 
 
外貿網站模板  |  關于我們  |  核心技術  |  人才招聘  |  幫助中心  |  zencart下載  |  付款方式  |  公司地圖  |  聯系我們


粵ICP備15004589號
深圳市迅捷網絡技術有限公司 Copyright ? 2004-2016 All Rights Reserved. 版權所有
總公司:深圳市龍華新區民治街道人民路中航天逸大廈A3棟15層     網址:www.818819.buzz  電話:0755-28107785
分公司:惠州市惠城區港惠新天地商業大廈2B棟19層 網址:www.0752web.com 電話:0752-2695554  2065565
全國服務熱線:137 14307967   售后服務熱線:159 19478387 客服QQ: 1512144 408079953 MSN:[email protected]
捕鱼大师1比1现金