Axial Web Dev

Magento 2 graduates from Prototype to jQuery

Keeping up with the latest on the tech industry!

After successful career of Magento Version 1, Now Magento eCommerce Company is coming up with New and fresh Magento 2 which have lots of changes and logs compare to previous versions. Magento 2 is already in market for testing and awareness purpose for the programmers. It’s available for download on GitHub - https://github.com/mconnectmedia/magento2

JQuery is presented with Magento 2.0 as main Magento JavaScript Library, and it’s the best action performed by Magento Company. There are many reasons to get excited about Magento switching to jQuery, but the top is clearly being able to easily leverage the mountain of jQuery libraries that are already available on the internet. From sliders to modal chat dialogs, nearly any front-end problem can be solved using off-the-shelf libraries that are almost universally free (both in terms of speech and beer). Even now, if you google “Magento jQuery” you’ll find page after page with people either asking or explaining how to integrate jQuery. Often the goal of all of these explanations is to leverage a great library. Well, now you can! You no longer need to fiddle with loading from a CDN through layout (doesn’t work well) or adding your own file just to handle the call to enable ‘no conflict’ mode (to play nicely with Prototype).

Another advantage of jQuery becoming a first-class-citizen in the Magento ecosystem, is having a standard expected version of jQuery and jQuery UI. Many libraries require a specific version range for jQuery and they may fail if that is not satisfied. This can be complicated when 3rd party code (Modules) include their own version of jQuery, which happens a lot.

Here are some other quick changes and new enhancement presented in new Magento 2:
Clear processes and transparency
Improved product quality
Improved performance and scalability
Improved product security
Enhanced Modular architecture
Improved coverage of Web APIs
Simplified customization process and learning curve
Improve Multi-language support
Improve education and product documentation for merchants and developers
New theme portal to design your desired block in admin panel.
Magento 2 features and programming requirement

Magento Programming Compatibility:
Magento 2.0 will run using PHP 5.3 and build with Zend Framework same like Magento 1.0, it will also support MSSQL, Oracle and some other database also. It’s good news for the Windows Platform Server. Magento is best growing eCommerce platform and always coming up with different compatibility for third party apps.

Performance Optimization:
Lots of complains for the Magento performance till now as it’s built with heavy modular coding framework and EAV (Entity-Attribute-Value) database structure. It’s always recommended that Magento works OKAY on dedicated and cloud servers. Therefore official Magento Developers are keep working to improve performance of Magento in each versions by versions. And with Magento 2.0 the performance of Magento will be more than 20% for sure.

Module Switch ability:
In current version of Magento 1.0 all the main modules like catalog, cms, customer, orders, reports were interrelated and when someone disable any of the module from config.xml it’s always throwing exception as the module you have disabled is dependent to other module. In Magento 2.0 Magento have flexibility to switch and disable any module as those are not interrelated on configuration level.

New Template Structure:
Magento is built on Zend MVC structure, but in Magento 1.0 it was hard to find out direction structure for the Layouts, Skin and HTML files as this files were not followed as per the Zend Folder Structure. Magento 2.0, all the directory structure are similar to Zend Framework Structure. In Magento 2.0 have removed skin and app/design folder and created view folder under the app/code/core/Mage/ModuleName and View Folder in it for each module which will include all the images, layout.xml, JS, CSS. So if you want to call any of this files to your phtml file then you have to use new function in PHP which is echo $this->getViewUrl () instead of echo $this->getSkinUrl ();

Module Activation Process Changes:
Previously with Magento 1.0 we are used to activate our module from using module.xml file at app/etc/modules but in Magento 2 its changed. Now config.xml file is used to activate custom modules, it can be done using adding active and codePool tags in your config.xml file.

Few Major Changes Introduced

Visual Design Editor:
Now it’s time to rock and roll for the Magento site owner because they need not to worry if they required technical knowledge to operate Magento admin panel to perform layout and Magento eCommerce Web Design related tasks, because Magento 2 have introduce Visual Design Editor with Drag and Drop functionality to manage pages, blocks and other designing related stuffs to align and modify the layout. Almost Design related changes can be done using this visual design editor from Magento backend. It’s nice UI related tool presented with Magento 2.0 to amaze its users with great experience.

Also look and feel of the Magento 2 admin panel is changed with some new and good UI and UX related changes.

Blocks:
Block is HTML-Level element on any page which can be easily manipulated using Visual Design Editor, It’s not necessary that if an element contains any content or not, the design editor visually differ it from other elements and supply required controls to drive this stuffs.

Container:
Container is like block a block-level HTML element which will visually differs and drive easily by the visual design editor. Container don’t have its own content but its consists of one or more other blocks or containers. Sort order information is stored by the containers and also it represent area for Dropping.

Some more:
» Category selection tree is removed from the Magento create and edit product section.
» Drag and Drop features introduced for the product images on product create section in admin panel.
» Also it will allow admin to change attribute sets while adding and editing products.

We at Axial Motion love the changes Magento Company are making and we are confident that our clients will too!