Magento

Magento for Developers: Part 4 – Magento Layouts, Blocks and Templatese

Developers new to Magento are often confused by the Layout and View system. This article will take a look at Magento’s Layout/Block approach, and show you how it fits into Magento MVC worldview. Unlike many popular 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 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” PHP files (with … Continue Reading…

Magento

Magento for Developers: Part 3 – Magento Controller Dispatch

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 looks 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 process that’s often called routing). The … Continue Reading…

Magento

Magento for Developers: Part 2 – The Magento Config

The config is the beating heart of the Magento System. It describes, 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. Follow along by copying and pasting the … Continue Reading…

Magento

Magento for Developers: Part 1 – Introduction to Magento

What is Magento? It’s the most powerful online eCommerce platform in the universe and is changing the face of eCommerce forever. Of course, you already know that. What you may not realize is Magento’s also an object-oriented PHP Framework that can be used to develop modern, dynamic web applications that tap into Magento’s powerful eCommerce features. This is the first in a series of articles in which wee’re going to go on a whirlwind tour of Magento’s programming framework features. Don’t worry if you don’t follow everything immediately. As you study the system more everything in this article will start … Continue Reading…

JQuery – An Advanced and Competent Web Development Application

jQuery is an efficient framework that squeezes lines of chaotic JavaScript into well-designed, concise code and completely transforms the way animations are performed, add Ajax interactivity, and incorporate rich UI components into your website. This JavaScript framework shows commitment towards strength of design and conceptual modeling required for serious web development applications. jQuery makes it smoothly possible for a web developer to efficiently find and operate HTML elements with minimum lines of codes. Although, it may not be a first choice for 3-D and vector based graphics, the adaptability of jQuery makes it much better alternative to Flash and hence, … Continue Reading…

Getting introduced to AJAX

Asynchronous JavaScript + XML, is not a new technology or a new programming language It is a term coined in 2005 by Jesse James Garrett, which describes a “new” approach to using a number of existing technologies together, including: HTML or XHTML, Cascading Style Sheets, JavaScript, The Document Object Model, XML, XSLT, and the XMLHttpRequest object. It is a new technique for creating better, faster, and more interactive web applications When these technologies are combined in the AJAX model, web applications are able to make quick, incremental updates to the user interface without reloading the entire browser page. This makes … Continue Reading…

CSS-Cascading-Style-Sheets

Benefits of Using CSS for Web Pages

If you are still designing with tables then you are missing out on a lot of the benefits of cascading style sheets (CSS). Tables were not supposed to be used for designing but unfortunately it has been the standard for a long time. Not any more. 1. Separate content from presentation. An external style sheet can contain all the styles for your web site, then if you want to change the content you only have to edit one style sheet. This is great for a web site that contains hundreds or thousands of pages. Imagine if you had to edit each page..it … Continue Reading…

Eric Meyers CSS – Generate CSS layouts with no hand coding

Dreamweaver let’s you create and develop interactive, dynamic websites and is an industry standard among webmasters. It’s an easy to operate and powerful piece of software. If you’ve ever tried to make cross-browser compatible CSS layouts in Dreamweaver, on occasion it seems comparable an uphill struggle to get true cross-browser compatability for your design with the differences between the most important web browsers. Sooner or later you’ll come to the understanding that there’s got to be a easier way. With Dreamweaver add-ons you can improve features to the core features of dreamweaver and force it to do just about everything, … Continue Reading…