Please enable JavaScript.
Coggle requires JavaScript to display documents.
Virto (Modules (module.manifest (dependencies (VirtoCommerce.Core, To…
Virto
Modules
module.manifest
Kinda like app settings
dependencies
VirtoCommerce.Core
To other modules
location of scripts and css
initial class
modules.cs
initialisation
DB setup
Container
Scripts
blades
Js files
controllers
are the panels
Html files
What is render
can show blade.data
Extending it
JavaScript you can extend the UI
managed code you can extend the backend
new security permissions and new application settings can be added to the module manifest
ManagedModule1.js
Logic for going onto the platform
Registers the module
Add it to the menu of the platform
Can use the js controller
API controller
That get called by the platform and return data
How to debug a module
Open IIS
Browse the Admin website
Debugging and attach to process
tick, show process from all users
find w3wp.eve
Platform
Set-up
IIS
Virtual Directory for assets
Website using the source code directory
DB
virto user
That can create databases locally
Creates the DB for you
dbcreator
API
Gives you a security key
To see the API details
Users > Frontend > API Accounts > frontend
Managed module
Tutorial
helloWorld_blade.js
have angular controllers in
Has its own VS template for creating a new module
Theme and view
Is within the platform solution directory
VS - show all files
To see the theme files within VS
Store front core
Set-up
Uses the platform API
Use its security key
For getting the theme from the platform
MKlink
mklink /d "C:\VirtoSource\vc-storefront-core\VirtoCommerce.Storefront\wwwroot\cms-content" "C:\VirtoSource\vc-platform\VirtoCommerce.Platform.Web\App_Data\cms-content"
Source code
Get it from git
Templates
engine
Liquid is the templating engine
DotLiquidThemedViewEngine.cs
ShopifyLiquidThemeEngine.cs