This document provides an overview of the architecture of Yves & Zed, an e-commerce platform. It discusses the following key points:
1. Yves & Zed uses a layered architecture with bundles and packages to structure code and composer to manage dependencies between packages.
2. It features a state machine powered by events and commands to automatically process orders, with visualizations of the business logic.
3. The platform also includes a data warehouse for big data with an ETL process, job scheduling, and order status mapping to dimensions for analysis and reporting.
Bootiful Development with Spring Boot and React - Dublin JUG 2018Matt Raible
Blog post: https://developer.okta.com/blog/2017/12/06/bootiful-development-with-spring-boot-and-react
GitHub repo: https://github.com/oktadeveloper/spring-boot-react-example
To simplify development and deployment, you want everything in the same artifact, so you put your React app “inside” your Spring Boot app, right?
But what if you could create your React app as a standalone app and make cross-origin requests to your API? A client app that can point to any server makes it easy to test your current client code against other servers (e.g. test, staging, production).
This session shows how to develop with Java 8, Spring Boot, React, and TypeScript. You’ll learn how to create REST endpoints with Spring MVC, configure Spring Boot to allow CORS, and create a React app to display its data.
NJSPUG-Introduction to SharePoint Patterns and Practices PowerShellTheresa Lubelski
Learn how to install, use, and troubleshoot SharePoint Patterns and Practices PowerShell, specifically to extract the site template from a Publishing site, create a new subsite, and apply the site template.
Bootiful Development with Spring Boot and React - Dublin JUG 2018Matt Raible
Blog post: https://developer.okta.com/blog/2017/12/06/bootiful-development-with-spring-boot-and-react
GitHub repo: https://github.com/oktadeveloper/spring-boot-react-example
To simplify development and deployment, you want everything in the same artifact, so you put your React app “inside” your Spring Boot app, right?
But what if you could create your React app as a standalone app and make cross-origin requests to your API? A client app that can point to any server makes it easy to test your current client code against other servers (e.g. test, staging, production).
This session shows how to develop with Java 8, Spring Boot, React, and TypeScript. You’ll learn how to create REST endpoints with Spring MVC, configure Spring Boot to allow CORS, and create a React app to display its data.
NJSPUG-Introduction to SharePoint Patterns and Practices PowerShellTheresa Lubelski
Learn how to install, use, and troubleshoot SharePoint Patterns and Practices PowerShell, specifically to extract the site template from a Publishing site, create a new subsite, and apply the site template.
Nils Seebach - Was ist mein Onlineshop wert? - Bewertungen im E-CommerceeCommerce_Day
Wie bestimmt man den Wert eines Unternehmens? Welche Faktoren muss ich beachten? Wie wirken sich Wachstum und Unternehmensgröße darauf aus?
Vortrag vom e-Commerce Day 2015.
Finden Sie hier das Video zum Vortrag + weitere Informationen:
https://www.hitmeister.de/ecommerceday/videos/2015/was-ist-mein-onlineshop-wert
2 BHK Luxury Apartment in Wagholi, Pune - Marvel Fria IIMarvel Realtors
Marvel Fria 2 Project Located in Eastern Pune (wagholi). This One Of The Most Luxurious Residential Project in Pune. This Project Has Modern Amenities with Premium Location Advantages. A Few Advantages are Mention Below:
Airport: 5 km - Railway Station: 13 km - IT Park: 6 km - City Centre: 20 Minutes
- See more at: http://www.marvelrealtors.com/residential-properties/fria-2/
The Zed Earth campus has zero dependence on the water supply board, no lines connecting to the Sewerage Board, and relies only 20% on the power grid. Zed Earth homes offer deep-eco villas with spaces ranging from 2000 to 6000 sqft.
Marvel Fria is coming with its excellent development encloses with the important situation of outstanding natural gathering. Marvel Fria Wagholi greatest venture has been covere0d up beside the ideal location of Wagholi in Pune and provides a choice of 2/ 3 BHK flats along with cleaned disinfected and roomy ambiance.
Onlineshop als integraler Bestandteil der Unternehmensstrategieschukai GmbH
Welche Berechtigung hat der Handelt und speziell Onlineshops im Zeitalter von Amazon und eBay? Welche Handelsmodell funktionieren? Wie muss die Unternehmensstrategie den Herausvorderungen des Onlinehandels angepasst werden.
Präsentation im Rahmen einer IHK Veranstaltung in München.
Online verkaufen per webshop onlineshop-e-shop-internetshopThor Alexander
Das sollten Sie wissen, bevor Sie einen Onlineshop/Webshop/E-Shop bzw. Internetshop eröffnen. Es gibt vieles zu beachten, z.B. zahlreiche rechtliche Stolpersteine. Weiterführend erahlten Sie Rabatt auf meinen Kurs unter www.t3b.eu/online-verkaufen.
Der Content-Marketing-Fitness-Pass für OrganisationenKai Heddergott
Session beim Content Strategy Camp 2015 #cosca15:
Prozessbeschreibungen zur Umsetzung eines strategischen Content Marketings sind umfänglich ausentwickelt – vorwurfsfrei kann aber festgestellt werden, dass sie einer nötigen Eingangsfrage nicht nachgehen (denn dafür sind sie gar nicht gedacht): Ist die Organisation überhaupt in der Lage, einen solchen Prozess umzusetzen? Die Begleitung von Institutionen und Unternehmen bei der Entwicklung und operativen Umsetzung von Content-Marketing-Strategien bedarf der systematischen Erfassung des Content-Markting-Reifegrades. Mit vier Bewertungsfeldern kann mit dem Anatz des Content-Fitness-Passes nach Art einer Scorecard erfasst werden, wie bereit Unternehmen und Institutionen in Sachen Content Marketing sind – und welche Maßnahmen sich empfehlen.
Packende AdWords-Anzeigentexte erstellen, testen und optimierenCrealytics
Eine gute AdWords-Anzeige ist die Türschwelle zu Ihrem Online Shop. Sie sollte packend und relevant sein, um die Suchanfrage perfekt widerzuspiegeln und den Nutzer für Ihren Shop zu begeistern. Um das zu erreichen, gibt es unterschiedliche Möglichkeiten, die Ihnen Andreas Reiffen, CEO der crealytics GmbH, in seiner Präsentation aufzeigt. Dabei geht er unter anderem auf Value Propositions, Call-to-Actions und Promotions ein.
Webchance Academy 2014 während der Christmasworld, Paperworld und Creativeworld
E-Commerce, nicht Onlineshop. Neue Leistungsbündel für den Handel zwischen Marken und Marktplätzen.
bvh - E-Commerce Verband Deutschland
Martin Groß-Albenhausen
Das Blog der Messe Frankfurt zur Digitalisierung des Geschäftslebens:
http://connected.messefrankfurt.com/de/
Burn down the silos! Helping dev and ops gel on high availability websitesLindsay Holmwood
HA websites are where the rubber meets the road - at 200km/h. Traditional separation of dev and ops just doesn't cut it.
Everything is related to everything. Code relies on performant and resilient infrastructure, but highly performant infrastructure will only get a poorly written application so far. Worse still, root cause analysis in HA sites will more often than not identify problems that don't clearly belong to either devs or ops.
The two options are collaborate or die.
This talk will introduce 3 core principles for improving collaboration between operations and development teams: consistency, repeatability, and visibility. These principles will be investigated with real world case studies and associated technologies audience members can start using now. In particular, there will be a focus on:
- fast provisioning of test environments with configuration management
- reliable and repeatable automated deployments
- application and infrastructure visibility with statistics collection, logging, and visualisation
Everyone talks about raising the bar on the quality of code, but it’s hard to implement when you have no clue where to start. This talk is geared toward all levels of developers, and will teach you how to improve by using the right tools effectively – a must-attend for any PHP developer who wants to scale up their quality.
Michelangelo will tell us about Quality Assurance for PHP in general and show how different QA-related actions can be performed using PhpStorm IDE. The webinar will cover topics including:
Revision control
Syntax checking
Code documentation
Unit Testing with PHPUnit
Measuring code health with a variety of tools
Profiling and debugging with Xdebug
Automation with Phing
Team work and more.
Nils Seebach - Was ist mein Onlineshop wert? - Bewertungen im E-CommerceeCommerce_Day
Wie bestimmt man den Wert eines Unternehmens? Welche Faktoren muss ich beachten? Wie wirken sich Wachstum und Unternehmensgröße darauf aus?
Vortrag vom e-Commerce Day 2015.
Finden Sie hier das Video zum Vortrag + weitere Informationen:
https://www.hitmeister.de/ecommerceday/videos/2015/was-ist-mein-onlineshop-wert
2 BHK Luxury Apartment in Wagholi, Pune - Marvel Fria IIMarvel Realtors
Marvel Fria 2 Project Located in Eastern Pune (wagholi). This One Of The Most Luxurious Residential Project in Pune. This Project Has Modern Amenities with Premium Location Advantages. A Few Advantages are Mention Below:
Airport: 5 km - Railway Station: 13 km - IT Park: 6 km - City Centre: 20 Minutes
- See more at: http://www.marvelrealtors.com/residential-properties/fria-2/
The Zed Earth campus has zero dependence on the water supply board, no lines connecting to the Sewerage Board, and relies only 20% on the power grid. Zed Earth homes offer deep-eco villas with spaces ranging from 2000 to 6000 sqft.
Marvel Fria is coming with its excellent development encloses with the important situation of outstanding natural gathering. Marvel Fria Wagholi greatest venture has been covere0d up beside the ideal location of Wagholi in Pune and provides a choice of 2/ 3 BHK flats along with cleaned disinfected and roomy ambiance.
Onlineshop als integraler Bestandteil der Unternehmensstrategieschukai GmbH
Welche Berechtigung hat der Handelt und speziell Onlineshops im Zeitalter von Amazon und eBay? Welche Handelsmodell funktionieren? Wie muss die Unternehmensstrategie den Herausvorderungen des Onlinehandels angepasst werden.
Präsentation im Rahmen einer IHK Veranstaltung in München.
Online verkaufen per webshop onlineshop-e-shop-internetshopThor Alexander
Das sollten Sie wissen, bevor Sie einen Onlineshop/Webshop/E-Shop bzw. Internetshop eröffnen. Es gibt vieles zu beachten, z.B. zahlreiche rechtliche Stolpersteine. Weiterführend erahlten Sie Rabatt auf meinen Kurs unter www.t3b.eu/online-verkaufen.
Der Content-Marketing-Fitness-Pass für OrganisationenKai Heddergott
Session beim Content Strategy Camp 2015 #cosca15:
Prozessbeschreibungen zur Umsetzung eines strategischen Content Marketings sind umfänglich ausentwickelt – vorwurfsfrei kann aber festgestellt werden, dass sie einer nötigen Eingangsfrage nicht nachgehen (denn dafür sind sie gar nicht gedacht): Ist die Organisation überhaupt in der Lage, einen solchen Prozess umzusetzen? Die Begleitung von Institutionen und Unternehmen bei der Entwicklung und operativen Umsetzung von Content-Marketing-Strategien bedarf der systematischen Erfassung des Content-Markting-Reifegrades. Mit vier Bewertungsfeldern kann mit dem Anatz des Content-Fitness-Passes nach Art einer Scorecard erfasst werden, wie bereit Unternehmen und Institutionen in Sachen Content Marketing sind – und welche Maßnahmen sich empfehlen.
Packende AdWords-Anzeigentexte erstellen, testen und optimierenCrealytics
Eine gute AdWords-Anzeige ist die Türschwelle zu Ihrem Online Shop. Sie sollte packend und relevant sein, um die Suchanfrage perfekt widerzuspiegeln und den Nutzer für Ihren Shop zu begeistern. Um das zu erreichen, gibt es unterschiedliche Möglichkeiten, die Ihnen Andreas Reiffen, CEO der crealytics GmbH, in seiner Präsentation aufzeigt. Dabei geht er unter anderem auf Value Propositions, Call-to-Actions und Promotions ein.
Webchance Academy 2014 während der Christmasworld, Paperworld und Creativeworld
E-Commerce, nicht Onlineshop. Neue Leistungsbündel für den Handel zwischen Marken und Marktplätzen.
bvh - E-Commerce Verband Deutschland
Martin Groß-Albenhausen
Das Blog der Messe Frankfurt zur Digitalisierung des Geschäftslebens:
http://connected.messefrankfurt.com/de/
Burn down the silos! Helping dev and ops gel on high availability websitesLindsay Holmwood
HA websites are where the rubber meets the road - at 200km/h. Traditional separation of dev and ops just doesn't cut it.
Everything is related to everything. Code relies on performant and resilient infrastructure, but highly performant infrastructure will only get a poorly written application so far. Worse still, root cause analysis in HA sites will more often than not identify problems that don't clearly belong to either devs or ops.
The two options are collaborate or die.
This talk will introduce 3 core principles for improving collaboration between operations and development teams: consistency, repeatability, and visibility. These principles will be investigated with real world case studies and associated technologies audience members can start using now. In particular, there will be a focus on:
- fast provisioning of test environments with configuration management
- reliable and repeatable automated deployments
- application and infrastructure visibility with statistics collection, logging, and visualisation
Everyone talks about raising the bar on the quality of code, but it’s hard to implement when you have no clue where to start. This talk is geared toward all levels of developers, and will teach you how to improve by using the right tools effectively – a must-attend for any PHP developer who wants to scale up their quality.
Michelangelo will tell us about Quality Assurance for PHP in general and show how different QA-related actions can be performed using PhpStorm IDE. The webinar will cover topics including:
Revision control
Syntax checking
Code documentation
Unit Testing with PHPUnit
Measuring code health with a variety of tools
Profiling and debugging with Xdebug
Automation with Phing
Team work and more.
Reviews the basis of using JavaScript within WordPress. How to load in scripts correctly and move PHP data into JavaScripts for later use. Presented at WordCamp LA 2012
It’s trivial today to start writing and debugging some React code, but it’s not 100% clear how to properly deploy the application, manage versions and what implications that has on the build configurations. Especially if you want to allow different versions for different users in order to perform some A/B testing, testing new features in production environment, come up with some UI experiments, or gradually roll out new features for a subset of users.
In this presentation I hopefully covered all that.
Slide links:
- https://lumberjack.rareloop.com
- https://docs.lumberjack.rareloop.com
- https://github.com/Rareloop/lumberjack-bedrock-installer
- https://github.com/Rareloop/lumberjack
- https://github.com/Rareloop/lumberjack-validation
- https://github.com/Rareloop/hatchet
- https://lizkeogh.com/2017/08/31/reflecting-reality/amp
- https://www.upstatement.com/timber
- https://roots.io/bedrock
- https://scotch.io/bar-talk/s-o-l-i-d-the-first-five-principles-of-object-oriented-design
- https://github.com/zendframework/zend-diactoros
- https://www.php-fig.org
- http://php-di.org
---
Often WordPress themes are not easy to change, maintain or fun to work on. This can rule WordPress out as a viable option for bespoke, non-trivial websites.
In this talk we’ll dive into how this happens & look at how we can benefit from software engineering techniques to help make your code easier to change. I’ll also show how using Lumberjack, a powerful MVC framework built on Timber, can be used to power-up your themes.
This workshop is a hands-on training where a real Zend Framework application is used as an example to start improving QA using tools to test, document and perform software metric calculations to indicate where the software can be improved. I also explain the reports produced by a CI system.
Overview of The Scala Based Lift Web FrameworkIndicThreads
All of us having experience with other web frameworks such as Struts,Tapestry, Rails, etc would ask “Why another framework? Does Lift really solve problems any differently or more effectively than the ones we’ve used before? The Lift Web Framework provides an advanced set of tools for quickly and easily building real-time, multi-users, interactive web applications. Lift has a unique advantage that no other web framework currently shares: the Scala programming language. Scala is a relatively new language developed by Martin Odersky and his group at EPFL Switzerland. Scala is a hybrid Object Oriented and Functional language that runs at native speeds on the JVM and fully interoperates with Java code. Lift is a hybrid web framework built on Scala. Lift derives its features and idioms from the best of existing web frameworks as well as the functional and OO features in Scala. It compiles to Java bytecode and runs on the JVM, which means that we can leverage the vast ecosystem of Java libraries just as we would with any other java web framework. This presentation details the advantages of this Scala based Web framework over all the existing frameworks that we have used uptil now and shows a small sample application built with Lift. We will create a basic application with a model that maps to RDBMS, web pages that correspond to back end logic and bind dynamically created content to elements on the webpage.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
3. Who?
Fabian Wesner
$year >= 2012 CTO @ Project A Ventures
$year == 2011 CTO @ Rocket Internet
$year == 2010 Lead developer @ Zalando
$year <= 2009 Entrepreneur and Freelancer
Project A Ventures
Building successful companies.
Company Builder with focus on Internet, advertising technology and
mobile.
www.project-a.com
9. Dependency management with composer
- Code is structured in packages
- Packages may require each other
- We use composer to manage dependencies
composer.json of dwh-package
{
"name": "project-a/dwh-package",
"autoload": {
"psr-0": { "ProjectA": "/src" }
},
"require": {
"php": ">=5.4.0",
"project-a/auth-package": ">=0.0.10",
"project-a/library-package": ">=0.0.27"
}
}
How to update Yves & Zed?
(1) add a new version to a composer.json
(2) run php composer.phar install
19. Visualization of business logic
protected function addTransitions()
{
$this->setup->addTransition(
self::STATE_NEW,
self::STATE_PREAUTHORIZED,
self::EVENT_START_PAYMENT,
self::RULE_PAYMENT_TRANSACTION_APPROVED);
$this->setup->addTransition(
self::STATE_NEW,
self::STATE_INVALID,
self::EVENT_START_PAYMENT);
}
protected function addCommands()
{
$preAuthorizeCommand = $this->factory
->getModelOrderprocessCommandPaymentPreAuthorization();
$this->setup->addCommand(
self::STATE_NEW,
self::EVENT_START_PAYMENT,
$preAuthorizeCommand);
}
protected function addDefinitions()
{
$subProcess = $this->factory
->getModelOrderprocessDefinitionSubProcessCancellation()
$this->setup->addDefinition($subProcess);
}
PHP
Graph
20. Automatic processing of thousands of orders per day
Trigger events
Used in several controllers to start the state machine
$this->facadeSales->triggerEvent(„start payment“,items);
$this->facadeSales->triggerEventBulk($eventName,items);
Commands
Classes with logic which are triggered from the state machine
class SaoZedPaymentComponentCommand
PreAuthorization
{
public function __invoke ($orderEntity, $context)
{ ... }
}
Check conditions
Decision which way to go
class SaoZedPaymentComponentCondition
TransactionApproved
{
/** @return bool */
public function check($orderItem, $context)
{ ... }
}
+++ More details: Talk of Oliver Tischlinger tomorrow „Statemachine – Das Mittel gegen Flags!“ +++
22. ETL / job scheduler
<job id="load-order-item-status">
<description>Copies the order item status table into the tmp table
</description>
<commands>
<run-sql-file
file-name="order-statuses/create-order-item-status-tmp-table.sql"
echo-queries="false"/>
<load-from-mysql mysql-database="zed"
file-name="order-statuses/load-order-item-status.sql"
target-table="tmp.order_item_status"/>
</commands>
</job>
<job id="transform-order-item-status">
<description>Copies the order item status table into the dim schema
</description>
<dependencies>
<dependency job="load-order-item-status"/>
<dependency job="load-order-item-status-mapping"/>
</dependencies>
<commands>
<run-sql-file
file-name="order-statuses/transform-order-item-status.sql"
echo-queries="false"/>
</commands>
</job>
23. Order status mapping
Every color has a
simple meaning!
Not paid
Item returned
Paid
etc.
<perspective name="Sales">
<status-group name="Not paid"
description="The items are not yet paid"
color="#557799">
<status ref="shipped"/>
<status ref="waiting for payment"/>
<status ref="capture"/>
</status-group>
<status-group name="Paid"
description="The items are paid"
color="#559955">
<status ref="paid in money collect"/>
<status ref="clarify refund overpayment"/>
<status ref="closed"/>
</status-group>
</perspective>
</status-mapping>