layered

passing data in an ntier application

牧云@^-^@ 提交于 2019-12-09 05:40:56
问题 How do you pass data to layers in an n-tier application? I have mapped out 3 different methods. A) generic .net objects generic data tables, Hashtables, generic datasets, strings, ints etc... then using the datasets to fill your business objects which get sent to the UI layer. alt text http://img11.imageshack.us/img11/460/generic.png http://dabbleboard.com/draw?b=eiu165&i=26&c=54eef6f1ac01f03c85919518f4a24e798e57e133 Pro- No extra layers needed Con- Have to work with Generic datasets and

Magento Layered Navigation Categories [closed]

江枫思渺然 提交于 2019-12-08 12:52:45
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I would like the user to be sent to the category landing page when the user clicks the category in layered navigation. So instead of the user getting /category.html?cat=11 , they would get /category/RedWidget.html?cat=11 when they click the RedWidget category. I found this link, but his code doesn't work. Thanks

passing data in an ntier application

最后都变了- 提交于 2019-12-03 07:04:22
How do you pass data to layers in an n-tier application? I have mapped out 3 different methods. A) generic .net objects generic data tables, Hashtables, generic datasets, strings, ints etc... then using the datasets to fill your business objects which get sent to the UI layer. alt text http://img11.imageshack.us/img11/460/generic.png http://dabbleboard.com/draw?b=eiu165&i=26&c=54eef6f1ac01f03c85919518f4a24e798e57e133 Pro- No extra layers needed Con- Have to work with Generic datasets and tables in the business layer B) using an entities layer that the other layers would reference. This layer

N-Tiered vs N-Layered architecture/design [closed]

こ雲淡風輕ζ 提交于 2019-11-29 03:47:40
What does it mean by N-Tiered and N-Layered architecture/design? Is there any difference between N-Tiered and N-Layered architecture/design? If yes, what is the difference? People often use the two terms interchangably in that they can describe an architecture as being both multi-layered and multi-tiered. My take on it is that generally a tier refers to some physical separation while a layer is more of a logical separation. For example, a typical web application I would say has a front end - what's displayed in the browser - and the actual application logic running on the application server,

Magento layered navigation on custom product collection

流过昼夜 提交于 2019-11-28 21:26:35
I have been working on a custom module for Magento (ver. 1.8.0.0) that shows a list of related products of a certain product. In order to achieve this I have created my own module by overwriting the Mage_Catalog_Block_Product_List class. Basically here's how it works: From a controller I catch the products entity_id and I store the product in the registry so I can use it inside my custom written Block which is called list.php Here is the method that fills the product collection: protected function _getProductCollection() { if (is_null($this->_productCollection)) { $prod = Mage::registry(

N-Tiered vs N-Layered architecture/design [closed]

情到浓时终转凉″ 提交于 2019-11-27 16:07:42
问题 What does it mean by N-Tiered and N-Layered architecture/design? Is there any difference between N-Tiered and N-Layered architecture/design? If yes, what is the difference? 回答1: People often use the two terms interchangably in that they can describe an architecture as being both multi-layered and multi-tiered. My take on it is that generally a tier refers to some physical separation while a layer is more of a logical separation. For example, a typical web application I would say has a front

Magento layered navigation on custom product collection

我是研究僧i 提交于 2019-11-27 13:52:56
问题 I have been working on a custom module for Magento (ver. 1.8.0.0) that shows a list of related products of a certain product. In order to achieve this I have created my own module by overwriting the Mage_Catalog_Block_Product_List class. Basically here's how it works: From a controller I catch the products entity_id and I store the product in the registry so I can use it inside my custom written Block which is called list.php Here is the method that fills the product collection: protected