Spring ActionScript is an IoC container for ActionScript 3 that allows for dependency injection and loose coupling between application components. It uses XML or MXML configuration to define objects and their dependencies. The speaker has 10 years of experience with Flash and founded Spring ActionScript and AS3Commons. The presentation demonstrated how to use the IoC container, configure objects and properties, implement MVC architecture with operations and events, and autowire dependencies between classes. A demo application was shown to illustrate these concepts in practice.
A brief introduction to OWIN and Katana, the basics and few basic details on the analysis of the internal workings of OWIN and functions, the middleware registrations and how they all compare to the traditional request processing pipelines.
Building web applications with Java & SpringDavid Kiss
Guide on getting started with Spring framework and Spring Boot. For more details, check out the blog post: http://kaviddiss.com/2015/07/18/building-modern-web-applications-using-java-spring/
25+ Reasons to use OmniFaces in JSF applicationsAnghel Leonard
OmniFaces is an utility library that can help you to improve your JSF development experience. This presentation reveals 25+ real cases in which OmniFaces can make JSF life easier.
This session will provide a complete tour of using the Spring MVC framework to build Java Portlets. It will include an in-depth review of a sample portlet application developed using the latest features of Spring MVC, including Annotation-based Controllers. If you are writing Portlets and using Spring, this session is for you.
We'll begin by discussing the unique differences and challenges when developing Portlets instead of traditional Servlet webapps. Then we'll talk about the unique approach that Spring MVC takes towards Portlets that fully leverages the Portlet lifecycle, instead of masking it like many other frameworks. We'll take an extensive tour of a sample application so we can see all the unique pieces of the framework in action. Finally we'll conclude with discussion of the upcoming support for the Portlet 2.0 (JSR 286) specification that will be part of Spring 3.0.
University of Colorado PhD software engineering student Aaron Schram explains the details of creating a web applications using the Spring MVC framework
OWIN and Katana Project - Not Only IIS - NoIISBilal Haidar
This presentation is an introduction to OWIN and Katana project. The title states it all, NOT ONLY IIS, meaning that, we can now host Web Apps outside IIS.
This presentation is about Spring MVC. Topics covered in this session are:
1. HTTP Servlet
2. What is Spring MVC?
3. MVC Architecture
4. Request Processing Workflow in Spring MVC
5. Spring Web Application Context
6. Spring MVC Configuration
7. Important Annotations
Titanium - Making the most of your single threadRonald Treur
The native app development environments support multiple threads. Titanium however does not (out of the box), it only supports a single thread. In this presentaton, Ronald Treur will shortly explain how threading works and why this knowledge matters. But more important, he will show you how to keep heavy duty processes from blocking others.
This article is about aspect oriented programming (aop) in spring. the related example of an application with aop support is in the following address :
https://github.com/ghorbanihamid/SpringBoot_AOP_JPA_Example
Starting with Spring MVC 2.5, Annotation-Based Controllers became the preferred model for development (the Interface-based Controller hierarchy will be deprecated in Spring 3). This session will teach developers familiar with the old model how to use the new Annotation-based Controllers. This will also provide the basis for writing JSR 286 portlets using Spring 3.
Sample code available here:
http://www.ja-sig.org/wiki/x/vYS8AQ
Full screencast available here:
http://vimeo.com/10020881
A brief introduction to OWIN and Katana, the basics and few basic details on the analysis of the internal workings of OWIN and functions, the middleware registrations and how they all compare to the traditional request processing pipelines.
Building web applications with Java & SpringDavid Kiss
Guide on getting started with Spring framework and Spring Boot. For more details, check out the blog post: http://kaviddiss.com/2015/07/18/building-modern-web-applications-using-java-spring/
25+ Reasons to use OmniFaces in JSF applicationsAnghel Leonard
OmniFaces is an utility library that can help you to improve your JSF development experience. This presentation reveals 25+ real cases in which OmniFaces can make JSF life easier.
This session will provide a complete tour of using the Spring MVC framework to build Java Portlets. It will include an in-depth review of a sample portlet application developed using the latest features of Spring MVC, including Annotation-based Controllers. If you are writing Portlets and using Spring, this session is for you.
We'll begin by discussing the unique differences and challenges when developing Portlets instead of traditional Servlet webapps. Then we'll talk about the unique approach that Spring MVC takes towards Portlets that fully leverages the Portlet lifecycle, instead of masking it like many other frameworks. We'll take an extensive tour of a sample application so we can see all the unique pieces of the framework in action. Finally we'll conclude with discussion of the upcoming support for the Portlet 2.0 (JSR 286) specification that will be part of Spring 3.0.
University of Colorado PhD software engineering student Aaron Schram explains the details of creating a web applications using the Spring MVC framework
OWIN and Katana Project - Not Only IIS - NoIISBilal Haidar
This presentation is an introduction to OWIN and Katana project. The title states it all, NOT ONLY IIS, meaning that, we can now host Web Apps outside IIS.
This presentation is about Spring MVC. Topics covered in this session are:
1. HTTP Servlet
2. What is Spring MVC?
3. MVC Architecture
4. Request Processing Workflow in Spring MVC
5. Spring Web Application Context
6. Spring MVC Configuration
7. Important Annotations
Titanium - Making the most of your single threadRonald Treur
The native app development environments support multiple threads. Titanium however does not (out of the box), it only supports a single thread. In this presentaton, Ronald Treur will shortly explain how threading works and why this knowledge matters. But more important, he will show you how to keep heavy duty processes from blocking others.
This article is about aspect oriented programming (aop) in spring. the related example of an application with aop support is in the following address :
https://github.com/ghorbanihamid/SpringBoot_AOP_JPA_Example
Starting with Spring MVC 2.5, Annotation-Based Controllers became the preferred model for development (the Interface-based Controller hierarchy will be deprecated in Spring 3). This session will teach developers familiar with the old model how to use the new Annotation-based Controllers. This will also provide the basis for writing JSR 286 portlets using Spring 3.
Sample code available here:
http://www.ja-sig.org/wiki/x/vYS8AQ
Full screencast available here:
http://vimeo.com/10020881
This is a handout from a Flash workshop I recently conducted at the National University of Singapore. It contains step by step instructions covering Flash basics, ActionScript and also Flash-PHP communication. Feel free to contact me if you find any bugs! :)
Twitter session at Kern on effective layouts inspired Geeta Bose to conduct and design this presentation.
The key learning from the Twitter session:
1. IDs must have skills in visualizing information.
2. Visual design skills mean basic understanding of the design laws and principles.
3. Graphic designers should also understand instructional design principles to add value to visual design.
4. Good IDs are like architects. Like architects they must know about building materials, where to use them etc along with creating a detailed blueprint.
4. Good IDs have better productivity
5. Good IDs must understand Gestalt’s Laws, Color Theory, Basic Typography, Laws of Composition, & Visual Hierarchy.
6. Good IDs must understand Typography: Readability, Legibility, Para Alignment, Leading, Indents, Widow & Orphans, Type Selection.
7. They must understand what is Affordance along with Visual Composition: Point and range of view, rhythm, harmony, balance, and contrast
HTML5 Mobile Game Development Workshop - Module 1 - HTML5 Developer Conferenc...Pablo Farías Navarro
Full-day training on mobile game development with JavaScript using the Phaser library. To learn more about our online and on-site training on game, web and mobile app development visit https://zenva.com
TCH Technology Consulting Group AP business model is deeply rooted in the belief that "one Accounts Payable methodology does not fit all.” Every client is unique; we start by understanding our clients business and culture so we can design the best Accounts Payable methodology and recommend the corresponding controls to maximize the benefit. Our services include but limited to: statement reviews, duplicate verification, review for misapplied payments, identify payments in error, incorrect credit memos, currency issues, pricing errors and returns that have not been credited. Our Accounts Payable consulting approach is segmented into two categories: reviewing qualified record sets and correspondence assessments. Let us do your recovery so your revenue can grow.
ActionScript is a object oriented scripting language. Like ECMAScript the Actionscript is similar to the java script. Actionscript provides the interactive functionalitry to the the web site. Actionscript is mostly used in the flash software developer can set and control the actions of the Flash objects. Actionscript provide the additional features to the animation with flash and to create advance interactive animations and applications for the users. Actionscript is used for the kids tutorials and games so that kids can understand the lessons more easily. This is used by many advertisement companies to create the advertisements banners with flash and small animations http://www.myassignmenthelp.net/programming-assignment-help.php
In this file, you can ref interview thank you letter materials for Account payable manager position such as Account payable manager interview thank you letter samples, interview thank you letter tips, Account payable manager interview questions, Account payable manager resumes, Account payable manager cover letter …
In this file, you can ref interview thank you letter materials for Account receivable manager position such as Account receivable manager interview thank you letter samples, interview thank you letter tips, Account receivable manager interview questions, Account receivable manager resumes, Account receivable manager cover letter …
In this file, you can ref resume materials for account payable clerk such as account payable clerk resume samples, account payable clerk resume writing tips, account payable clerk cover letters, account payable clerk interview questions with answers…
Less Verbose ActionScript 3.0 - Write less and do more!Arul Kumaran
While we all like AS3 for consistency, better performance and OOP, many of us hate it for its verbose nature. If you share this view, then you will find this session helpful in your day-to-day development tasks, be it an agency interactive or a complex application. There are micro frameworks like SimpleAS3, as3Query (ported from jQuery) and Short that attempt to reduce the verboseness of the language. This session will explore such frameworks and other tips and tricks to simplify the language for us.
Actionscript 3 - Session 2 Getting Started Flash IDEOUM SAOKOSAL
Actionscript 3 - Session 2 Getting Started Flash IDE
Taught by Oum Saokosal, Head of Information Technology, National Polytechnic Institute of Cambodia
This seminar provides an introduction to Portlet development using the Spring MVC framework. Topics include: quick introductions to Spring and JSR 168 Portlets, setting up a Portlet development environment, an overview of the Spring MVC API, and then a series of sample applications that cover specific topics like Handler Mappings, Controllers, Interceptors, Form Controllers, File Uploads and the new Annotation-based Mappings introduced in Spring 2.5.
Sample code is available at:
http://www.ja-sig.org/wiki/x/CACDAQ
Maxim Salnikov - Service Worker: taking the best from the past experience for...Codemotion
There is no doubt that 2018 is the year when Progressive Web Apps will get the really broad adoption and recognition by all the involved parties: browser vendors (finally, all the major ones), developers, users. And the speed and smoothness of this process heavily depend on how correctly we, developers, use the power of new APIs. In my session based on the accumulated experience of developing and maintaining PWAs we go through the list of advanced tips & tricks, showcase best practices, learn how to avoid common pitfalls and have a look at the latest browser support and known limitations.
Developing enterprise applications today using JavaFX is a challenge. The industry has not matured enough to identify patterns and practices. Consequently practioners (architects and developers alike) commit the same mistakes again and again. There is a complete lack of non-UI frameworks that make JavaFX application development easy and fast. FxObjects attempts to address that gap. The 0.1 version released provides powerful features.
Architectural Patterns and Software Architectures: Client-Server, Multi-Tier,...Svetlin Nakov
Few days ago I gave a talk about software architectures. My goal was to explain as easy as possible the main ideas behind the most popular software architectures like the client-server model, the 3-tier and multi-tier layered models, the idea behind SOA architecture and cloud computing, and few widely used architectural patterns like MVC (Model-View-Controller), MVP (Model-View-Presenter), PAC (Presentation Abstraction Control), MVVM (Model-View-ViewModel). In my talk I explain that MVC, MVP and MVVM are not necessary bound to any particular architectural model like client-server, 3-tier of SOA. MVC, MVP and MVVM are architectural principles applicable when we need to separate the presentation (UI), the data model and the presentation logic.
Additionally I made an overview of the popular architectural principals IoC (Inversion of Control) and DI (Dependency Injection) and give examples how to build your own Inversion of Control (IoC) container.
Introduction To Adobe Flex And Semantic Resourceskeith_sutton100
This presentation was used at the Semantic Technology Conference in San Jose on June 18, 2009 by Keith Sutton, Silicon Valley Flex User Group (SilvaFUG) Manager
javagruppen.dk - e4, the next generation Eclipse platformTonny Madsen
After 13 years, the Eclipse framework gets it second make-over. The new work is termed e4 and will be included in Eclipse 4.0.
In the first make-over the run-time was replaced in Eclipse 3.0 with OSGi to get a better and more stable foundation for plug-ins. This time the user interface and contributions are modernized for use in Eclipse 4.0.
In this session, we will see some of the insides of the new paradigms in e4.
Een beknopte samenvatting van de paper "The Cathedral & the Bazaar" van Eric S. Raymond en hoe open source wordt toegepast bij Stack & Heap. (KortrijkIN, 5/7/2013)
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
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
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.
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
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.
Generating a custom Ruby SDK for your web service or Rails API using Smithyg2nightmarescribd
Have you ever wanted a Ruby client API to communicate with your web service? Smithy is a protocol-agnostic language for defining services and SDKs. Smithy Ruby is an implementation of Smithy that generates a Ruby SDK using a Smithy model. In this talk, we will explore Smithy and Smithy Ruby to learn how to generate custom feature-rich SDKs that can communicate with any web service, such as a Rails JSON API.
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
Neuro-symbolic (NeSy) AI is on the rise. However, simply machine learning on just any symbolic structure is not sufficient to really harvest the gains of NeSy. These will only be gained when the symbolic structures have an actual semantics. I give an operational definition of semantics as “predictable inference”.
All of this illustrated with link prediction over knowledge graphs, but the argument is general.
3. Agenda What is Spring ActionScript The IoC container Configuration MVC Architecture Demo Q&A
4. Speaker’squalifications CertifiedAdobeFlex & AIR expert 10 yearsplayingwith Flash technology Founder and leaddeveloper of AS3Commons & Spring ActionScript Tech reviewerforFoED/Apress
5. What is Spring ActionScript(1/2) Inversion of Control (IoC) forActionScript 3.0 Flash/Flex/AIR/Pure AS3 IoC container MVC?
6. What is Spring ActionScript(2/2) Started as anin-houselibrary Formerlyknown as the Pranaframework Incubated as a Spring Extension project Upcoming release 0.9 AS3Commons: Lang, Logging, Reflect, …
7. The IoC Container (1/3) = Object Factory Creates and assembles objects Centralizeddependency management Spring AS: configuration via XML or MXML
8. The IoC Container (2/3) Object (bean): object managed and/orcreatedby the container Object Factory: factorythatcreates and managesobjects factory.getObject(“myObject”) Object Definition: blueprintforan object Application Context: smarter Object Factory
9. The IoC Container (3/3) Object Scopes Singleton: onlyoneinstance in the container Notlinked to the Singleton Design Pattern The default scope factory.getObject(“obj”) == factory.getObject(“obj”) Prototype: newinstancecreatedoneachrequest factory.getObject(“obj”) != factory.getObject(“obj”)
14. Configuration(5/9) MXML Configuration: cons Compiledinto the application Explicitdeclaration: limited to singletons, noexternalreferences, no prototypes -> use Spring AS MXML dialect
16. Configuration(7/9) XML Configuration: loading varcontext:XMLApplicationContext = newXMLApplicationContext(); context.addConfigLocation(“context.xml”); context.addEventListener(Event.COMPLETE, context_completeHandler); context.load(); function context_completeHandler(event:Event):void { var appModel:ApplicationModel = context.getObject(“appModel”); var appController:ApplicationController = context.getObject(“appController”); }
17. Configuration(8/9) XML Configuration: pros Richer dialect than MXML config Usablefornon-Flexprojects No need to recompile (in some cases) Familiar to Spring Java users
19. MVC Architecture(1/2) No realprescriptivearchitecture Do youreallyneedone? Rollyourownbecauseone does NOT fit all Many MVC architectures out there: Cairngorm, PureMVC, Mate, … … Spring AS wants to support them
20. MVC Architecture(2/2) Spring AS MVC ingredients Operation API Event Bus Autowiring Recommendations Presentation Model (Fowler) LayeredArchitecture (DDD – Evans)
21. The Operation API (1/7) Asynchronousbehavior in Flash Player: loadingexternal resources, RMI, sqlite, Webservices, HTTPServices, … No threading API Many different APIs: AsyncToken, Responders, Callbacks, Events… we need a unifiedapproach!
22. The Operation API (2/7) Problem: a user repository (or service) interface IUserRepository { functiongetUser(id:int): ??? } What does the getUsermethod return? AsyncToken (Flex/RemoteObject), User (In memory), void (events)
23. The Operation API (3/7) Spring AS solution: return a IOperation interface IUserRepository { functiongetUser(id:int):IOperation; } Cannowbeused in anyActionScript 3 context and easilymockedfortesting
24. The Operation API (4/7) In Spring AS, an “operation” is used to indicateanasynchronousexecution IOperation interface with “complete” and “error” events IProgressOperationwith “progress” event OperationQueuebundlesoperations (a compositeoperation)
27. The Operation API (7/7) A progressoperation: varoperation:IOperation = newSomeProgressOperation(param1, param2); operation.addCompleteListener(function(event:OperationEvent):void { }); operation.addErrorListener(function(event:OperationEvent):void { }); operation.addProgressListener(function(event:OperationEvent):void { var op:IProgressOperation = IProgressOperation(event.operation); trace(“Progress:” + op.progress + “, total: “ + op.total); });
28. The Event Bus (1/3) Publish/subscribeevent system Usedforglobalapplicationevents Promotesloosecoupling Works withstandard Flash Events
29. The Event Bus (2/3) Listening/subscribing to events: // listen for all events EventBus.addListener(listener:IEventBusListener); functiononEvent(event:Event):void { } // listen forspecificevents EventBus.addEventListener(“anEvent”, handler); functionhandler(event:Event):void { }
30. The Event Bus (3/3) Dispatching/publishingevents: // dispatchstandardevent EventBus.dispatchEvent(newEvent(“someEvent”)); // dispatchcustomevent classUserEventextendsEvent { ... } EventBus.dispatchEvent(newUserEvent(UserEvent.DELETE, user));
31. Autowiring(1/2) Auto DependencyInjection via metadata Autowireby type, name, constructor, autodetect Works forobjectsmanagedby the container and for view components Be careful: magic happens, noexplicitconfiguration
32. Autowiring(2/2) Annotate a propertywith [Autowired] classUserController { [Autowired] public var userRepository:IUserRepository; } [Autowired(name=“myObject“, property=“prop”)]
33. Summary Dependency Management Loosecoupling, type to interfaces Usewithotherframeworks Spring mentality: provide choice Promote best practices