Magento Basics part 2 Modules & Themes Stenik Group Ltd. Magento

Slides:



Advertisements
Similar presentations
Jekyll Static Site Generator Template-Based Site Generation Svetlin Nakov Technical Trainer Software University
Advertisements

Doctrine The PHP ORM SoftUni Team Technical Trainers Software University
Software Technologies
Version Control Systems
Magento Basics Getting started developing for Magento
Auto Mapping Objects SoftUni Team Database Applications
Databases basics Course Introduction SoftUni Team Databases basics
Services & Dependency Injection
C# MVC Frameworks – ASP.NET
ASP.NET Essentials SoftUni Team ASP.NET MVC Introduction
Web API - Introduction AJAX, Spring Data REST SoftUni Team Web API
Introduction to MVC SoftUni Team Introduction to MVC
Deploying Web Application
Setup a PHP + MySQL Development Environment
WordPress Introduction
PHP MVC Frameworks Course Introduction SoftUni Team Technical Trainers
C# Database Fundamentals with Microsoft SQL Server
Build a WordPress Site A Real Life Example: Create a Fully Functional WP Business Web Site from Scratch Building a WP Site SoftUni Team Technical Trainers.
Module Development Part 2 Magento 1 Stenik Group Ltd. Martin Grozdanov
Source Control Systems
Application Architecture, Redux
ASP.NET Integration Testing
ASP.NET Unit Testing Unit Testing Web API SoftUni Team ASP.NET
Classes, Properties, Constructors, Objects, Namespaces
Mocking tools for easier unit testing
Parsing JSON JSON.NET, LINQ-to-JSON
JavaScript Applications
State Management Cookies, Sessions SoftUni Team State Management
EF Code First (Advanced)
PHP MVC Frameworks MVC Fundamentals SoftUni Team Technical Trainers
C# Databases Advanced with Microsoft SQL Server
Spring Filters Spring Interceptors SoftUni Team Spring Interceptors
Software Technologies
Introducing Symfony Composer, Bundles, Symfony Framework Georgi Gyurov
Entity Framework: Code First
Parsing XML XDocument and LINQ
Databases advanced Course Introduction SoftUni Team Databases advanced
C#/Java Web Development Basics
MVC Architecture. Routing
Install and configure theme
Entity Framework: Relations
The Right Way Control Flow
ASP.NET Razor Engine SoftUni Team ASP.NET MVC Introduction
MVC Architecture, Symfony Framework for PHP Web Apps
ASP.NET MVC Introduction
C# Advanced Course Introduction SoftUni Team C# Technical Trainers
Databases Advanced Course Introduction SoftUni Team Databases Advanced
C# Web Development Basics
Best practices and architecture
Design & Module Development
Web Fundamentals (HTML and CSS)
WordPress Plugins Popular WP Plugins: Sliders, Forms, Contacts, SEO, Forum, Photo Gallery, e-Commerce WordPress Plugins SoftUni Team Technical Trainers.
Multidimensional Arrays, Sets, Dictionaries
Extending functionality using Collections
ASP.NET Filters SoftUni Team ASP.NET MVC Introduction
Making big SPA applications
Manual Mapping and AutoMapper Library
ASP.NET Razor Engine SoftUni Team ASP.NET MVC Introduction
C# Advanced Course Introduction SoftUni Team C# Technical Trainers
Course Overview, Trainers, Evaluation
Scheduled Tasks and Web Socket
Introduction to TypeScript & Angular
CSS Transitions and Animations
Train the Trainers Course
Spring Data Advanced Querying
Version Control Systems
JavaScript Frameworks & AngularJS
JavaScript: ExpressJS Overview
CSS Transitions and Animations
Iterators and Generators
Presentation transcript:

Magento Basics part 2 Modules & Themes Stenik Group Ltd. Magento Martin Grozdanov martin@stenik.bg Software University http://softuni.bg © Software University Foundation – http://softuni.org This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike license. 1

Table of Contents Using PHP7 With Magento Magento & Modules Installing modules – Cons Magento & Composer Themes Modules’ Basic Components Modules’ Basic File Architecture Themes’ Basic File Architecture Q&A 2 © Software University Foundation – http://softuni.org This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike license. 2

sli.do # softuni-magento © Software University Foundation – http://softuni.org This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike license. 3

Using PHP7 With Magento? Patch it. https://github.com/Inchoo/Inchoo_PHP7/tree/master 4

Magento & Modules Magento is module based framework Most of Magento’s core modules are dependent of each other. Naming convention <Namespace>_<Module> Mage_Customer Mage_Catalog Every module is declared with XML file in app/etc/modules/ 5

Installing modules - Cons Magento Connect Install & Cons The module cannot be committed using Magento Connect. The module is hard to be updated from other machines. Manual Install & Cons The module is hard to be updated. 6

Magento & Composer Installing module with composer { "minimum-stability": "dev", "repositories": { "firegento": { "type": "composer", "url": "https://packages.firegento.com" } }, "require": { "magento-hackathon/magento-composer-installer": "3.0.*" "extra": { "magento-root-dir" : "./", "magento-deploystrategy": "copy", "magento-force": "override" Installing module with composer 7

Themes What are themes? Themes in Magento are the representative part Magento – HTML & Layout. Each theme is within package – similar to modules’ namespaces. Installation Just like modules – via Magento Connect, Manual, Composer and etc. 8

Modules’ Basic Components Controllers What to be seen/used. Models Things to be seen/used. Blocks (Views) How to be seen. Helpers The other components’ sidekicks. config.xml Configuration Installers & Updaters 9

Modules’ Basic File Architecture app/etc/modules/<Namespace>_<Module>.xml app/code/<pool>/<Namespace>/<Module>/ Block controllers Helper Model etc sql ... 10

Themes’ Basic File Architecture app/design/frontend/<package>/<theme> layout template … skin/frontend/<package>/<theme> css images js 11

License This course (slides, examples, demos, videos, homework, etc.) is licensed under the "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International" license © Software University Foundation – http://softuni.org This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike license.

Trainings @ Software University (SoftUni) Software University – High-Quality Education, Profession and Job for Software Developers softuni.bg Software University Foundation softuni.org Software University @ Facebook facebook.com/SoftwareUniversity Software University Forums forum.softuni.bg © Software University Foundation – http://softuni.org This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike license.