Item renderers are often one of the first things developers trip up on when learning Flex. Throughout this presentation, we hope to explain how it works under the hood. We will discuss the different types of item renderers in Flex as well as how virtualization of item renderers work. We will discuss common problems people encounter with item renderers, building item renderers with performance in mind, and how item renderers work in Gumbo (the upcoming release of Flex).
Last updated on Dec 12, 2014
The Sightly template language, shipped with Adobe Experience Manager 6.0, simplifies a lot the component development workflow by allowing front-end developers to edit components themselves directly.
Learn about the main features of that template language, and about the tools available to make project development work more efficient.
The Cascade, Grids, Headings, and Selectors from an OOCSS Perspective, Ajax ...Nicole Sullivan
The cascade is a poker game, but we've been playing our cards all wrong. Here Nicole suggests we stop trying to play to win to prevent code bloat, and simplify the cascade, using the order of the rulesets to allow overrides.
Last updated on Dec 12, 2014
The Sightly template language, shipped with Adobe Experience Manager 6.0, simplifies a lot the component development workflow by allowing front-end developers to edit components themselves directly.
Learn about the main features of that template language, and about the tools available to make project development work more efficient.
The Cascade, Grids, Headings, and Selectors from an OOCSS Perspective, Ajax ...Nicole Sullivan
The cascade is a poker game, but we've been playing our cards all wrong. Here Nicole suggests we stop trying to play to win to prevent code bloat, and simplify the cascade, using the order of the rulesets to allow overrides.
Adrian Pomilio - Flex Ajax Bridge and Legacy Applications360|Conferences
A hands on session where you will learn how to work with the Flex Ajax Bridge and create Flex applications from the safety of JavaScript. " Why would I want to do this," you say. Well your boss just explained that you need to integrate Flex into a legacy application and the developers supporting the application only know JavaScript. Uh oh, well never fear this is where the Flex Ajax Bridge comes into play. Basic JavaScript knowledge is required and familiarity with Flex is recommended.
Learn how to use Adobe’s Pixel Bender technology to trick out your applications with a limitless variety of effects and transitions. Write pixel shaders with the Pixel Bender Toolkit and integrate them into Flex. Bring your shaders to life using the Flex effects library and other popular tweening libraries. Leverage Pixel Bender’s processing power for non-visual computations. Discover the pros and cons of using Pixel Bender vs. traditional AS3 approaches. Expect lots of demos and open source code to play with.
Bryc Barrand - The art of project management in large-scale Flex projects360|Conferences
There are many tools and tricks to help project managers develop enterprise level applications. Topics covered will include: Gathering project info, creating the WBS (work breakdown structure), developer accountability for hours worked, centralizing code, project management software, and healthy client communication.
Christophe Jolif - Flex Data Visualization going one step further with IBM IL...360|Conferences
This session will first introduce IBM ILOG Elixir visual components and describe how they can help you improve data visualization for your Adobe Flex & AIR applications. In particular, the latest release and its new components such as pivot charts, calendars, heat maps, and Gantt project management displays will be described into details. Then the session will offer a deep technical dive, showing coding tips and tricks and how-tos information such as how to connect an ILOG Elixir Heatmap component to flickr API to display photos geolocation information, or how to extend the ILOG Elixir OrgChart to provide expand and collapse functionality. Finally we will see how Flex 4 and its new component architecture Spark could impact visual components development and use when released.
Chad Udell - Developers are from Mars, Designers are from Venus360|Conferences
Where’s the love? Well, often when two coworkers from very different backgrounds are expected to work together, it can be tough to find. Designers and developers can indeed get along with a little foresight on process and understanding of the obstacles along the project’s path. Join Chad Udell in discovering some of those key differences and learn how to overcome them in order to create a blissful state of collaboration
Adrian Pomilio - Flex Ajax Bridge and Legacy Applications360|Conferences
A hands on session where you will learn how to work with the Flex Ajax Bridge and create Flex applications from the safety of JavaScript. " Why would I want to do this," you say. Well your boss just explained that you need to integrate Flex into a legacy application and the developers supporting the application only know JavaScript. Uh oh, well never fear this is where the Flex Ajax Bridge comes into play. Basic JavaScript knowledge is required and familiarity with Flex is recommended.
Learn how to use Adobe’s Pixel Bender technology to trick out your applications with a limitless variety of effects and transitions. Write pixel shaders with the Pixel Bender Toolkit and integrate them into Flex. Bring your shaders to life using the Flex effects library and other popular tweening libraries. Leverage Pixel Bender’s processing power for non-visual computations. Discover the pros and cons of using Pixel Bender vs. traditional AS3 approaches. Expect lots of demos and open source code to play with.
Bryc Barrand - The art of project management in large-scale Flex projects360|Conferences
There are many tools and tricks to help project managers develop enterprise level applications. Topics covered will include: Gathering project info, creating the WBS (work breakdown structure), developer accountability for hours worked, centralizing code, project management software, and healthy client communication.
Christophe Jolif - Flex Data Visualization going one step further with IBM IL...360|Conferences
This session will first introduce IBM ILOG Elixir visual components and describe how they can help you improve data visualization for your Adobe Flex & AIR applications. In particular, the latest release and its new components such as pivot charts, calendars, heat maps, and Gantt project management displays will be described into details. Then the session will offer a deep technical dive, showing coding tips and tricks and how-tos information such as how to connect an ILOG Elixir Heatmap component to flickr API to display photos geolocation information, or how to extend the ILOG Elixir OrgChart to provide expand and collapse functionality. Finally we will see how Flex 4 and its new component architecture Spark could impact visual components development and use when released.
Chad Udell - Developers are from Mars, Designers are from Venus360|Conferences
Where’s the love? Well, often when two coworkers from very different backgrounds are expected to work together, it can be tough to find. Designers and developers can indeed get along with a little foresight on process and understanding of the obstacles along the project’s path. Join Chad Udell in discovering some of those key differences and learn how to overcome them in order to create a blissful state of collaboration
Now that Flex 4 is getting closer, find out what that means for OpenFlux. Learn when is best to use OpenFlux and when is best to use Flex 4 for custom components. I'll show the differences and similarities between the two architectures giving you a better understanding of both frameworks and how well they can actually work together. You'll also learn what's new with OpenFlux, including virtualized lists, and what our future plans are, including pure-AS3-only support.
This session will discuss advanced techniques for creating customized data visualization solutions within Flex. Topics covered will include client side data management, charting and visualization customization, and incorporating user interaction for more effective data analysis user experiences.
Prototyping Adobe AIR Applications with Fireworks CS4Juan Sanchez
This presentation gives an overview of prototyping AIR applications using Fireworks CS4. You can get the source for the prototyped application here: http://scalenine.com/blog/2008/12/01/adobe-max-presentation-and-source/
Search Engines and Flash: Secrets, Tricks, and Black Magicguestb1f3a
Adobe Flash is a binary format and has not always been accessible to search engine spiders (small bits of code that algorithmically determine a page’s content for rankings in search engines). SEO experts have developed several key workarounds and new technical developments have made new functionality available to search engines and developers alike.
Duane Nickull, an Adobe Technical Evangelist, will showcase some advanced tips and tricks to give you the edge over the competition as well as share some secrets. Attendees will learn how to increase initial page rankings as well as monitor and increase dynamic page ranks.
Those days, when it seemed, that web applications have overthrown standard “cumbersome” client apps, we’ll speak about present and future of consumer oriented desktop applications. This includes, but not restricted to patterns of LOB applications development with WPF, right multimedia support of DirectX bridge and new features, waiting for you in Windows 7. Also we’ll speak about subject oriented programming, will be introduced in NET. 4.0 and how to leverage it even today with the current version of Microsoft framework. tits will be shown during the session, thus restricted to mature audiences
Plugins have evolved in the past year, and the new plugin architecture will be incorporated in all products in 2009. This session dives into the detail of the new plugins system, guides developers on the best techniques and approaches and explores how the architecture will evolve further.
Atlassian Speaker: Don Brown
Key Takeaways:
* In-depth look at plugins 2
* How-tos and code samples
OSGi Feature Model - Where Art Thou - David Bosschaert (Adobe)mfrancis
OSGi Community Event 2018 Presentation by David Bosschaert (Adobe)
Abstract: OSGi lends itself well to develop extensible applications assembled from reusable modules, where a set of bundles together with a set of configurations deployed to a provisioned OSGi framework is the application.
While this works very well for the originally intended use-cases, maintaining and building large applications developed by multiple teams often requires to assemble multiple larger components for which there is limited support in OSGi as of today. This is especially true in cases where multiple groups of bundles, configuration, metadata, and other artifacts need to be combined.
In this talk we will introduce you to OSGi RFP-188, named OSGi Features, which defines the requirements on providing a solution. We'll establish a shared understanding of the problem space and how it relates to already available mechanisms in OSGi (like e.g. subsystems, deploymentadmin, startlevels, etc.) and will subsequently, review it in the context of some of the current (open source) solutions like Apache Karaf Features and Apache Sling Features and Bnd.
Developing Lightning Components for Communities.pptxDmitry Vinnik
Discover tips and tricks for developing Lightning Components for communities. We'll cover customizing Self-Service templates, including overriding the default header with a custom theme, allowing community administrators to control the look and feel of your custom components with design tokens, and best practices, such as utilizing Lightning Component inheritance.
Jun Heider - Flex Application Profiling By Example360|Conferences
This session will be light on slides and heavy on demonstration. The session will start with a brief explanation of the concepts that will be discussed and then kick into high gear with demonstrations and live profiling with the Flex Builder Profiler. During the session the features of the Flex Builder Profiler will be illustrated and light will be shed on how to analyze the data collected by the Profiler. The goal of this session will be to arm the attendee with the ability to use the Flex Builder Profiler to help increase the responsiveness and decrease the memory consumed by their applications.
Oğuz Demirkapı - Hands On Training: Creating Our First i18N Flex Application ...360|Conferences
This session is designed to create a basic application which has i18N capability with static, dynamic content and database and other platform integration. Every possible integration points such as database, XML or web services etc. will be included in the application with samples. ColdFusion will be used as application server for integration samples.
Designed for 2 hours session and needs to have a laptop with Flex Builder installation. For integration samples, ColdFusion installation and one of the database engines of MySQL or MSSQL would be ideal.
Undo & redo is a core feature to many applications, yet it's missing from your Flash and Flex projects. Learn how to easily add history to your applications with little effort. This session covers the concepts, benefits and the techniques of history management. It breaks down the complexity of undo & redo implementation into simple code, illustrating the use of the Command Pattern and providing the tools necessary to get up and running within minutes. This session is targeted toward intermediate developers, but will be a great overview of application history for beginners and non-programmers.
Mansour Raad & Anthony Jayaprakash - Yet Another Mapping Framework, NOT!360|Conferences
In this session we will demonstrate the Flex Mapping API For ArcGIS Server, where we will deconstruct live real-world mapping applications and algorithms such as dense clustering, auto labeling of features, collaborative editing, real-time asset tracking and client/server collaborative Geo-Processing. In addition, we will demonstrate how to create your own layer, geometry and symbol extensions for superior rendering performance taking advantage of the FP10 drawing API.
Erik Loehfelm - Experience Design with Flash Catalyst and Flex Gumbo360|Conferences
Find out how to build real world user experiences using Adobe's newest products: Flash Catalyst and Flex Gumbo. I'll explore some best practices and pitfalls to watch out for in these early beta tools while building a prototype application from design through deployment. The audience will leave with an understanding of what these tools provide in their current builds, how they can be leveraged in the designer/developer workflow and some best practices for how to leverage their functionality in their own designs. I will provide all the source code and design notes for the application that we'll build.
Everyone is mashing up in Flex these days, why aren't you? Drop in and learn how to mash up various cloud or other APIs from MTV, Amazon, Twitter, eBay, or various others listed on programmableweb.com. Emphasis will be placed on consuming XML by way of e4x utilizing REST or Soap.
Wes Leonardo - Putting AIR into your Application360|Conferences
The session will cover the unique aspects of taking your applications to the next level with AIR. The session will cover using the SQL Lite database, detecting online/offine, customize the skin of the application and working with the local file system. If you are just getting started and want a great primer to AIR, this is the session for you.
Samuel Asher Rivello - PureMVC Hands On Part 1360|Conferences
In this beginner session we’ll see how to setup your first PureMVC based on a proven project template. We’ll lay down the groundwork and add new features to evaluate the strengths and weaknesses of the framework.
While the examples shown will be specific to Adobe Flex 3 for deployment to the browser, this session is equally relevant for application developers of other technologies including Adobe Flex 3 for Adobe AIR desktop deployment.
Samuel Asher Rivello - PureMVC Hands On Part 2360|Conferences
In this beginner session we’ll see how to setup your first PureMVC based on a proven project template. We’ll lay down the groundwork and add new features to evaluate the strengths and weaknesses of the framework.
While the examples shown will be specific to Adobe Flex 3 for deployment to the browser, this session is equally relevant for application developers of other technologies including Adobe Flex 3 for Adobe AIR desktop deployment.
A trend we have seen in the RIA marketplace is a decision to use Ajax over Adobe Flex due to the misconception that Adobe Flex developers are hard to find, and even harder to qualify. This session focuses on identifying, qualifying and hiring flex developers, as well as helping to ensure they don't just talk the talk, but also walk the walk. Attendees will leave this session armed with the skills they need to both justify moving towards Adobe Flex from a resource perspective, as well as how to load their team with top notch technologists
Francisco Inchauste - RIA Mojo - Making your Flex application standout with a...360|Conferences
The interface is the product. Make it great. Creating a differentiating experience and effectively positioning your RIA in the market is key to success. We'll look at why it's important to invest in the experience in this tough economy, explore UX methodologies, and touch on real world examples.
GridMate - End to end testing is a critical piece to ensure quality and avoid...ThomasParaiso2
End to end testing is a critical piece to ensure quality and avoid regressions. In this session, we share our journey building an E2E testing pipeline for GridMate components (LWC and Aura) using Cypress, JSForce, FakerJS…
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.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024Neo4j
Neha Bajwa, Vice President of Product Marketing, Neo4j
Join us as we explore breakthrough innovations enabled by interconnected data and AI. Discover firsthand how organizations use relationships in data to uncover contextual insights and solve our most pressing challenges – from optimizing supply chains, detecting fraud, and improving customer experiences to accelerating drug discoveries.
Communications Mining Series - Zero to Hero - Session 1DianaGray10
This session provides introduction to UiPath Communication Mining, importance and platform overview. You will acquire a good understand of the phases in Communication Mining as we go over the platform with you. Topics covered:
• Communication Mining Overview
• Why is it important?
• How can it help today’s business and the benefits
• Phases in Communication Mining
• Demo on Platform overview
• Q/A
Threats to mobile devices are more prevalent and increasing in scope and complexity. Users of mobile devices desire to take full advantage of the features
available on those devices, but many of the features provide convenience and capability but sacrifice security. This best practices guide outlines steps the users can take to better protect personal devices and information.
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...SOFTTECHHUB
The choice of an operating system plays a pivotal role in shaping our computing experience. For decades, Microsoft's Windows has dominated the market, offering a familiar and widely adopted platform for personal and professional use. However, as technological advancements continue to push the boundaries of innovation, alternative operating systems have emerged, challenging the status quo and offering users a fresh perspective on computing.
One such alternative that has garnered significant attention and acclaim is Nitrux Linux 3.5.0, a sleek, powerful, and user-friendly Linux distribution that promises to redefine the way we interact with our devices. With its focus on performance, security, and customization, Nitrux Linux presents a compelling case for those seeking to break free from the constraints of proprietary software and embrace the freedom and flexibility of open-source computing.
Essentials of Automations: The Art of Triggers and Actions in FMESafe Software
In this second installment of our Essentials of Automations webinar series, we’ll explore the landscape of triggers and actions, guiding you through the nuances of authoring and adapting workspaces for seamless automations. Gain an understanding of the full spectrum of triggers and actions available in FME, empowering you to enhance your workspaces for efficient automation.
We’ll kick things off by showcasing the most commonly used event-based triggers, introducing you to various automation workflows like manual triggers, schedules, directory watchers, and more. Plus, see how these elements play out in real scenarios.
Whether you’re tweaking your current setup or building from the ground up, this session will arm you with the tools and insights needed to transform your FME usage into a powerhouse of productivity. Join us to discover effective strategies that simplify complex processes, enhancing your productivity and transforming your data management practices with FME. Let’s turn complexity into clarity and make your workspaces work wonders!
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!
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...Neo4j
Leonard Jayamohan, Partner & Generative AI Lead, Deloitte
This keynote will reveal how Deloitte leverages Neo4j’s graph power for groundbreaking digital twin solutions, achieving a staggering 100x performance boost. Discover the essential role knowledge graphs play in successful generative AI implementations. Plus, get an exclusive look at an innovative Neo4j + Generative AI solution Deloitte is developing in-house.
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/
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.
Securing your Kubernetes cluster_ a step-by-step guide to success !
Ryan Fishberg and Joan Lafferty - ItemsRenderers
1. Custom
ItemRenderers
Replace with
a graphic
Ryan Frishberg and White Master
5.5” Tall & 4.3” Wide
Joan Lafferty
Flex 360 – May 19,
2009
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 1
2. Introduction and Resources
Additional Resources:
Alex’s Blog: http://blogs.adobe.com/
aharui
Peter Ent’s Blog: http://
weblogs.macromedia.com/pent
Spark Containers and ItemRenderers (Early
Draft) :http://blogs.adobe.com/flexdoc/
pdf/sparkContainersAndRenderers.pdf
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 2
3. Agenda
Types of ItemRenderers
Virtualization of ItemRenderers
Common Problems and Solutions
Editors, and Reusable itemRenderers.
Building for Performance
ItemRenderers in Flex 4 (Gumbo)
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 3
4. itemRenderer
A list renders data, usually in a label
You can use item renderers to render the data however
you want
itemRenderer is a property on List classes typed to
take an IFactory.
<mx:List
itemRenderer=“MySuperSweetItemRenderer”>
<mx:dataProvider>
…
</mx:dataProvider>
</mx:List>
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 4
5. Types of ItemRenderers
Two main types:
Custom Item Renderers
Drop-in Item Renderers (IDropInListItemRenderer)
Three ways to create them:
New ActionScript Class
New MXML Class
Inline
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 5
6. Custom ItemRenderers
Most basic item renderer
What developers use most of the time
Your item renderer is specific to the data you want to
display.
Item renderer implements IDataRenderer
<?xml version=quot;1.0quot; encoding=quot;utf-8quot;?>
<mx:VBox xmlns:mx=quot;http://www.adobe.com/2006/mxmlquot;>
<mx:Label text=quot;{data.lastName + ', ' +
data.firstName}quot; />
</mx:VBox>
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 6
7. Three ways to create a custom item renderer
New ActionScript Class
New MXML Class
Inline
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 7
8. Drop-in ItemRenderers
What most Flex framework components implement
Drop in item renderers implement
IDropInListItemRenderer (a.k.a. –
ISchemaLessListItemRenderer)
Doesn’t just give you the data property, but it gives
you the listData
Why do you need this? How to create an item renderer
for multiple DataGrid columns?
You can “drop in” the item render, and it’ll just display
the data—no matter what the data is
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 8
9. Reusable Renderers
Most itemRenderers are written to associate a renderer
with a column.
<mx:Label text=“{data.firstName}” fontStyle=“italic”/>
To make an itemRenderer reusable, do not associate it
with a column.
Use the listData property on your itemRenderer to
determine what data you are representing.
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 9
10. Reusable Renderers: Using listData
To use listData, your itemRenderer must implement
IDropInListItemRenderer.
Components like CheckBox, Button, NumericStepper,
Text and DateField already implement
IDropInListItemRenderer.
Containers do not implement IDropInListItemRenderer.
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 10
11. Sizing an item renderer
The explicit width of an itemRender is always the size
of its container (or the column size in a datagrid)
The height of an itemRender is always rowHeight
unless variableRowHeight = true (false by default)
By default, the width of a List is 200 pixels and the
number of rows displayed is 7.
Reverse this for horizontal lists
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 11
13. Renderers as Editors
Setting a custom itemRenderer like a CheckBox or
DateField does not mean your data is saved.
List component should be editable.
Set rendererIsEditor=true.
Set editorDataField if the default property of your
renderer is not “text”.
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 13
14. Example: Slider as a Renderer and Editor
Slider does not implement IDataRenderer
Set editable=true, itemRenderer=“MySlider”,
rendererIsEditor=“true” editorDataField=“value”
<mx:DataGridColumn
dataField=quot;ratingquot;
headerText=quot;Rating (1 to 10)quot;
itemRenderer=quot;MySliderquot;
rendererIsEditor=quot;truequot;
editorDataField=quot;valuequot;>
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 14
15. Performance
We are smart about creating itemRenderers, but there
are still lots of item renderers on screen in a 20x20
datagrid.
Item renderers need to be performant because there
are so many of them.
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 15
16. Performance: Tips for Speed
Layout’s often expensive and unnecessary for item
renderers
Instead, base your renderers off of UIComponent
and layout the items explicitly yourself
Developing your item renderers in MXML can be more
expensive. For example, you probably don’t need to
use data-binding.
Instead just use ActionScript – you know when the
data is changing (data setter gets called), so there’s
really no need for binding
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 16
17. ItemRenderers in Gumbo
DataGroup is the basic, skinless component used to
render data on screen.
SkinnableDataContainer is the skinnable version of
DataGroup.
List extends SkinnableDataContainer and adds
selection, keyboard handling, and a few other things.
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 17
18. ItemRenderers in Gumbo
itemRendererFunctions make it easy to deal with
heterogenous data items
Data containers support both Data Items and Visual
Elements
No more IDropInListItemRenderer – those properties
are pushed down to the item renderer directly now
Item renderers are in charge of all aspects of it’s
visuals, which means it must draw highlighting for
hover and selection
Support for differently sized item renderers is much
improved—new typicalItem property.
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 18
19. Resources
Ryan’s Blog:
http://frishy.blogspot.com/
Joan’s Blog:
http://butterfliesandbugs.wordpress.com
®
Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe confidential. 19