The document discusses mashups and how to create mashup applications and widgets using Adobe AIR. It covers mashup terminology and architectures. It then provides examples of using AIR to work with APIs from Flickr, YouTube, and Twitter to retrieve and display content from those services in an AIR application. It also discusses design patterns that are useful for structuring mashup applications as well as several open source libraries that can help with mashup development.
This document provides information about creating and running object-oriented programs in C# using Visual Studio. It discusses the .NET framework and different types of applications that can be created. It then provides step-by-step instructions on creating a simple Windows forms application with a button and message box, and a basic web application with a "Hello World" header. It also discusses opening and editing pages, building and running projects, and customizing project properties.
This document provides a tutorial on using the Simple Object Access Protocol (SOAP) for communication between components via XML messaging. It introduces an example calendar widget component that can receive event updates and return an HTML-formatted display of events. The tutorial demonstrates making a SOAP request to add a listing to the calendar by specifying the request in an XML envelope and body according to SOAP conventions. It also shows the empty response confirming the listing was added.
ASP.Net is a web development platform that provides a programming model, infrastructure, and services for building robust web applications. It uses HTTP to enable two-way communication between a browser and server. ASP.Net applications are compiled code written in languages like C# and VB.Net that can use classes in the .Net framework. The ASP.Net lifecycle involves initializing and loading pages, handling events, rendering output, and unloading pages. Key stages include initialization, loading, validation, handling postback events, and rendering.
Walkthrough of the current (late April 2010) state of the Facebook Platform, given as a talk as part of the Facebook Developer Garage London workshop day at the Difference Engine in Middlesborough
This document provides an overview of SharePoint 2010 development including the object hierarchy, new features in SharePoint 2010, and an agenda for discussing SharePoint 2010 development. It outlines the SharePoint object model including farms, site collections, sites, lists, libraries, and items. It also demonstrates how to create a web application, site collection, site, list and library programmatically.
This presentation is for explaining the basics of SharePoint Object Model/Web Services. These sessions are done online. Check more details @ http://manish-sharepoint.blogspot.com/2009/02/online-training-on-sharepoint.html
Anypoint Salesforce Connector With MulesoftJitendra Bafna
The document discusses how to use the Salesforce connector in Mulesoft to integrate a Mule application with Salesforce. The Salesforce connector allows secure access to Salesforce data and handles all five ways of integrating. It can perform all operations exposed via the Salesforce APIs. The document provides steps to create a Salesforce account, configure a security token, create an account view in Salesforce, design a Mule flow to create accounts using the connector, and test the flow by posting a message and verifying the account is created in Salesforce.
This document provides information about creating and running object-oriented programs in C# using Visual Studio. It discusses the .NET framework and different types of applications that can be created. It then provides step-by-step instructions on creating a simple Windows forms application with a button and message box, and a basic web application with a "Hello World" header. It also discusses opening and editing pages, building and running projects, and customizing project properties.
This document provides a tutorial on using the Simple Object Access Protocol (SOAP) for communication between components via XML messaging. It introduces an example calendar widget component that can receive event updates and return an HTML-formatted display of events. The tutorial demonstrates making a SOAP request to add a listing to the calendar by specifying the request in an XML envelope and body according to SOAP conventions. It also shows the empty response confirming the listing was added.
ASP.Net is a web development platform that provides a programming model, infrastructure, and services for building robust web applications. It uses HTTP to enable two-way communication between a browser and server. ASP.Net applications are compiled code written in languages like C# and VB.Net that can use classes in the .Net framework. The ASP.Net lifecycle involves initializing and loading pages, handling events, rendering output, and unloading pages. Key stages include initialization, loading, validation, handling postback events, and rendering.
Walkthrough of the current (late April 2010) state of the Facebook Platform, given as a talk as part of the Facebook Developer Garage London workshop day at the Difference Engine in Middlesborough
This document provides an overview of SharePoint 2010 development including the object hierarchy, new features in SharePoint 2010, and an agenda for discussing SharePoint 2010 development. It outlines the SharePoint object model including farms, site collections, sites, lists, libraries, and items. It also demonstrates how to create a web application, site collection, site, list and library programmatically.
This presentation is for explaining the basics of SharePoint Object Model/Web Services. These sessions are done online. Check more details @ http://manish-sharepoint.blogspot.com/2009/02/online-training-on-sharepoint.html
Anypoint Salesforce Connector With MulesoftJitendra Bafna
The document discusses how to use the Salesforce connector in Mulesoft to integrate a Mule application with Salesforce. The Salesforce connector allows secure access to Salesforce data and handles all five ways of integrating. It can perform all operations exposed via the Salesforce APIs. The document provides steps to create a Salesforce account, configure a security token, create an account view in Salesforce, design a Mule flow to create accounts using the connector, and test the flow by posting a message and verifying the account is created in Salesforce.
Filemaker Pro in the Pre-Media environmentTom Langton
FileMaker Pro works best in a client/server environment and now has a cloud-based version. It handles record locking automatically to prevent simultaneous modifications by multiple users. FileMaker Pro also works well in a Macintosh environment due to its familiar interface and ability to connect to the MacOS through plugins and Applescript. The document discusses several ways the author has used FileMaker Pro for tasks like automating file processing, integrating with accounting systems, remote time tracking, and generating reports.
The document provides an overview of new features in SharePoint 2010 for developers, including improvements to the user experience platform, the introduction of the ribbon interface, new dialog and theming frameworks, enhanced tools like PowerShell and SharePoint Designer, and changes to web part development. Key changes mentioned are a focus on standards compliance, a client-side object model, and the ability to develop solutions on client operating systems instead of just the server.
ASP.NET is a web development platform that provides the programming model, infrastructure, and services needed to build robust web applications for desktops and mobile devices. It uses HTTP to enable two-way communication between the browser and server. ASP.NET applications are compiled code written using reusable components in the .NET framework and can be written in languages like C#, VB.NET, JavaScript, and J#. ASP.NET is used to create interactive, data-driven web applications accessed over the internet using various server controls.
The document provides tips and best practices for working with PDF templates and the Forms Data Format (FDF). It discusses how FDF files can be used to dynamically generate new PDF pages from templates, populate form fields, and programmatically import FDF data. Key points include renaming fields when spawning template pages to avoid conflicts, using the original field names from templates when populating data, and calling FDFAddTemplate before FDFSetValue when constructing an FDF file to dynamically create pages.
(1) The document discusses how to install ASP.net 4 and Visual Studio 2010 Express, which allows users to build rich internet applications using the .NET framework.
(2) It explains the differences between Visual Web Developer 2010 Express, the free standalone version, and Visual Studio 2010, the full development suite with different price points. Both contain the necessary features to create complex web applications.
(3) The document provides instructions on running and viewing ASP.net pages in Visual Studio 2010, accessing tools like the Solution Explorer and Properties Grid, and using shortcuts like Ctrl+F5 to run pages in a web browser.
This document provides 25 tips for creating effective load test scripts using Oracle Load Testing for E-Business Suite and Fusion applications. Tip 1 discusses that the root cause of "Failed to solve variable" playback errors may be issues on the application side, such as legitimate differences in page content between recordings and playbacks. The tips provide advice on scripting techniques, capturing transactions, handling dynamic content, and best practices for load testing scripts.
This document provides an introduction to creating web applications using ASP.NET. It discusses using Visual Studio to create an ASP.NET project with an ASPX file and code-behind file. The ASPX file contains the user interface markup, while the code-behind file contains the C# code. It provides an example ASPX file called WebTime.aspx that displays the current time. When the page loads, the Page_Init method in the code-behind file retrieves the current time and sets the text of a Label control. Running the project displays the generated HTML, showing how ASP.NET translates the server-side controls into HTML for the browser.
This document summarizes new features and changes in Salesforce, including:
- The ability to create multiple calendars from different fields in Lightning Experience.
- Allowing contacts to be related to multiple accounts by enabling the "Allow users to relate a contact to multiple accounts" setting.
- Enhancements to Email Studio like the built-in preview feature and Content Builder for customizing emails.
- The Salesforce Marketing Cloud mobile app providing access to key features from a mobile device like scheduled activities and campaign tracking.
This document discusses how to integrate with and configure LinkedIn using Mule ESB. It describes LinkedIn as a business-oriented social networking service and provides steps to create a LinkedIn developer app, configure the LinkedIn connector in Mule ESB with consumer key and secret, and use OAuth2 authentication to connect to a LinkedIn account and retrieve a user's public profile details.
This document provides release notes for Oracle9i Reports Developer Release 2 (9.0.2) from April 2002. It describes general issues, configuration issues, UI issues, and workarounds. Key points include deprecated features from earlier versions, issues with pluggable data sources, configuration of the Reports_CLASSPATH variable, and enabling source control in the Windows UI. The document provides technical details and troubleshooting guidance for using Oracle9i Reports Developer.
SharePoint is a set of products and technologies that allows users to create, organize, share, and access information. It includes two main platforms - Windows SharePoint Services (WSS) which enables team collaboration, and Microsoft Office SharePoint Server (MOSS) which builds on WSS with additional features like enterprise search and content management. SharePoint uses a three-tier architecture with the presentation layer in ASP.NET, logic in .NET assemblies, and data stored in a SQL Server database. It is configured at the farm, web application, site, and web levels.
Application Integration Using XML Web Services - ReportArka Mitra
The document is a report on application integration using XML web services. It discusses the development of a flight booking web service (FBWS) using SOAP and XML schema. It also discusses building a front-end client application in ASP.NET that consumes the FBWS as well as other RESTful APIs like Google Maps and Directions. The report evaluates the performance and scalability of the system and proposes ways to improve it using semantic web technologies like ontologies, linked data, and recommendations based on open datasets. It concludes with a discussion on how linked data alone may not enable full scientific reproducibility and recommends research objects as a better approach.
The document provides training guides for ETL data load quality assurance (QA) and ripping/mapping processes. The ETL QA guide outlines how to check files pulled by web bots (Vbots) for accuracy by comparing information to source websites and publications. It describes how to record any errors found. The ripping/mapping guide instructs how to extract data from source documents into CSV files for loading into ETL, following transformation instructions. It also covers updating the ETL script for changes to source documents. The overall document trains new employees on verifying accuracy and formatting data for the ETL data loading process.
PHP is an interpreted programming language which was initially developed to enable the
creation of dynamic web pages. It is mainly used in the development of web applications
and is executed on the server, although it has now evolved into a general purpose scriptinglanguage
and is even being used to develop desktop applications.
The document provides guidance on getting started with Apex code in Salesforce, including:
- How to add an Apex class and write triggers to automate processes like increasing fees.
- Context variables available in triggers to access field values.
- Tips for using the developer console to write, save and test Apex code and triggers.
- Examples of creating a custom object and Apex code to increase fees on that object by 2%.
Rational Publishing Engine with Rational DOORSGEBS Reporting
The document describes how to use Rational Publishing Engine (RPE) to extract data from a Rational DOORS module and linked modules to generate an output document. It provides steps to:
1) Iterate through objects in a DOORS module and display attributes.
2) Configure an RPE data source to extract data from linked modules.
3) Filter and extract children objects from the linked modules.
4) Use schema discovery to add new attributes and update the schema.
5) Create templates, queries, containers and other elements to display the extracted DOORS data in paragraphs, tables and other structures in the output document.
The document discusses several integrations of the HomeNet LoSo Framework with other platforms:
1. Integration A allows dealerships to create customized Facebook apps for their inventory and other information, which can be added and shared on Facebook profiles and pages. The apps also enable viral promotion through friend invites.
2. Integration B automatically generates search engine optimized static HTML pages and sitemaps from IOL inventory for search engine submission.
3. Integration C translates IOL CSV or tab-delimited inventory files into XML or RSS formats for better integration with other web services.
4. Integration D allows dealerships to set up automated and scheduled social media posts from IOL inventory to platforms like Facebook, Twitter and
The document discusses various techniques for building mashup applications using Adobe AIR, including integrating HTML and JavaScript, monitoring network connectivity, working with files and SQLite databases, and creating different types of menus. Key topics include using the HTMLLoader class to display HTML, the URLMonitor class to check network status, File and FileStream classes to access files, and SQLConnection to interface with SQLite databases locally. The document also covers creating window, application, context and system tray menus in AIR applications.
The document discusses the Adobe Flex framework, which provides tools for building rich internet applications. It describes the key components of the Flex framework, including the MXML markup language, ActionScript programming language, and prebuilt class libraries. It also discusses some architectural patterns for organizing Flex applications and alternatives like Cairngorm and PureMVC frameworks.
This document discusses how to create an API project in MuleSoft using RAML and API Kit Router. It covers designing the API using the RAML specification in API Designer, creating the project in Anypoint Studio, running and testing the API project locally, and publishing the API to the Anypoint Exchange to enhance discoverability.
The document discusses mashups and various technologies used to create them such as Flex, E4X, HTTPService, crossdomain.xml, and AMF. It provides examples of using APIs from Amazon, Flickr, Yahoo, and Google to retrieve and combine data from multiple sources into new applications. It also discusses platforms like Yahoo Pipes that allow creating mashups visually without programming.
This document discusses a visit made to the website of ACME Car Rental, a leading travel services company in Malaysia. It provides details about ACME's history and services. The document also answers questions about how the website is developed and maintained. Key tools used include WebMatrix, ASP.NET, CSS, JavaScript, and Microsoft SQL Server. Security features implemented on the server include regular patching and password protection for changes. The website content is kept up-to-date through regular updates, response to feedback, and checking email regularly.
Filemaker Pro in the Pre-Media environmentTom Langton
FileMaker Pro works best in a client/server environment and now has a cloud-based version. It handles record locking automatically to prevent simultaneous modifications by multiple users. FileMaker Pro also works well in a Macintosh environment due to its familiar interface and ability to connect to the MacOS through plugins and Applescript. The document discusses several ways the author has used FileMaker Pro for tasks like automating file processing, integrating with accounting systems, remote time tracking, and generating reports.
The document provides an overview of new features in SharePoint 2010 for developers, including improvements to the user experience platform, the introduction of the ribbon interface, new dialog and theming frameworks, enhanced tools like PowerShell and SharePoint Designer, and changes to web part development. Key changes mentioned are a focus on standards compliance, a client-side object model, and the ability to develop solutions on client operating systems instead of just the server.
ASP.NET is a web development platform that provides the programming model, infrastructure, and services needed to build robust web applications for desktops and mobile devices. It uses HTTP to enable two-way communication between the browser and server. ASP.NET applications are compiled code written using reusable components in the .NET framework and can be written in languages like C#, VB.NET, JavaScript, and J#. ASP.NET is used to create interactive, data-driven web applications accessed over the internet using various server controls.
The document provides tips and best practices for working with PDF templates and the Forms Data Format (FDF). It discusses how FDF files can be used to dynamically generate new PDF pages from templates, populate form fields, and programmatically import FDF data. Key points include renaming fields when spawning template pages to avoid conflicts, using the original field names from templates when populating data, and calling FDFAddTemplate before FDFSetValue when constructing an FDF file to dynamically create pages.
(1) The document discusses how to install ASP.net 4 and Visual Studio 2010 Express, which allows users to build rich internet applications using the .NET framework.
(2) It explains the differences between Visual Web Developer 2010 Express, the free standalone version, and Visual Studio 2010, the full development suite with different price points. Both contain the necessary features to create complex web applications.
(3) The document provides instructions on running and viewing ASP.net pages in Visual Studio 2010, accessing tools like the Solution Explorer and Properties Grid, and using shortcuts like Ctrl+F5 to run pages in a web browser.
This document provides 25 tips for creating effective load test scripts using Oracle Load Testing for E-Business Suite and Fusion applications. Tip 1 discusses that the root cause of "Failed to solve variable" playback errors may be issues on the application side, such as legitimate differences in page content between recordings and playbacks. The tips provide advice on scripting techniques, capturing transactions, handling dynamic content, and best practices for load testing scripts.
This document provides an introduction to creating web applications using ASP.NET. It discusses using Visual Studio to create an ASP.NET project with an ASPX file and code-behind file. The ASPX file contains the user interface markup, while the code-behind file contains the C# code. It provides an example ASPX file called WebTime.aspx that displays the current time. When the page loads, the Page_Init method in the code-behind file retrieves the current time and sets the text of a Label control. Running the project displays the generated HTML, showing how ASP.NET translates the server-side controls into HTML for the browser.
This document summarizes new features and changes in Salesforce, including:
- The ability to create multiple calendars from different fields in Lightning Experience.
- Allowing contacts to be related to multiple accounts by enabling the "Allow users to relate a contact to multiple accounts" setting.
- Enhancements to Email Studio like the built-in preview feature and Content Builder for customizing emails.
- The Salesforce Marketing Cloud mobile app providing access to key features from a mobile device like scheduled activities and campaign tracking.
This document discusses how to integrate with and configure LinkedIn using Mule ESB. It describes LinkedIn as a business-oriented social networking service and provides steps to create a LinkedIn developer app, configure the LinkedIn connector in Mule ESB with consumer key and secret, and use OAuth2 authentication to connect to a LinkedIn account and retrieve a user's public profile details.
This document provides release notes for Oracle9i Reports Developer Release 2 (9.0.2) from April 2002. It describes general issues, configuration issues, UI issues, and workarounds. Key points include deprecated features from earlier versions, issues with pluggable data sources, configuration of the Reports_CLASSPATH variable, and enabling source control in the Windows UI. The document provides technical details and troubleshooting guidance for using Oracle9i Reports Developer.
SharePoint is a set of products and technologies that allows users to create, organize, share, and access information. It includes two main platforms - Windows SharePoint Services (WSS) which enables team collaboration, and Microsoft Office SharePoint Server (MOSS) which builds on WSS with additional features like enterprise search and content management. SharePoint uses a three-tier architecture with the presentation layer in ASP.NET, logic in .NET assemblies, and data stored in a SQL Server database. It is configured at the farm, web application, site, and web levels.
Application Integration Using XML Web Services - ReportArka Mitra
The document is a report on application integration using XML web services. It discusses the development of a flight booking web service (FBWS) using SOAP and XML schema. It also discusses building a front-end client application in ASP.NET that consumes the FBWS as well as other RESTful APIs like Google Maps and Directions. The report evaluates the performance and scalability of the system and proposes ways to improve it using semantic web technologies like ontologies, linked data, and recommendations based on open datasets. It concludes with a discussion on how linked data alone may not enable full scientific reproducibility and recommends research objects as a better approach.
The document provides training guides for ETL data load quality assurance (QA) and ripping/mapping processes. The ETL QA guide outlines how to check files pulled by web bots (Vbots) for accuracy by comparing information to source websites and publications. It describes how to record any errors found. The ripping/mapping guide instructs how to extract data from source documents into CSV files for loading into ETL, following transformation instructions. It also covers updating the ETL script for changes to source documents. The overall document trains new employees on verifying accuracy and formatting data for the ETL data loading process.
PHP is an interpreted programming language which was initially developed to enable the
creation of dynamic web pages. It is mainly used in the development of web applications
and is executed on the server, although it has now evolved into a general purpose scriptinglanguage
and is even being used to develop desktop applications.
The document provides guidance on getting started with Apex code in Salesforce, including:
- How to add an Apex class and write triggers to automate processes like increasing fees.
- Context variables available in triggers to access field values.
- Tips for using the developer console to write, save and test Apex code and triggers.
- Examples of creating a custom object and Apex code to increase fees on that object by 2%.
Rational Publishing Engine with Rational DOORSGEBS Reporting
The document describes how to use Rational Publishing Engine (RPE) to extract data from a Rational DOORS module and linked modules to generate an output document. It provides steps to:
1) Iterate through objects in a DOORS module and display attributes.
2) Configure an RPE data source to extract data from linked modules.
3) Filter and extract children objects from the linked modules.
4) Use schema discovery to add new attributes and update the schema.
5) Create templates, queries, containers and other elements to display the extracted DOORS data in paragraphs, tables and other structures in the output document.
The document discusses several integrations of the HomeNet LoSo Framework with other platforms:
1. Integration A allows dealerships to create customized Facebook apps for their inventory and other information, which can be added and shared on Facebook profiles and pages. The apps also enable viral promotion through friend invites.
2. Integration B automatically generates search engine optimized static HTML pages and sitemaps from IOL inventory for search engine submission.
3. Integration C translates IOL CSV or tab-delimited inventory files into XML or RSS formats for better integration with other web services.
4. Integration D allows dealerships to set up automated and scheduled social media posts from IOL inventory to platforms like Facebook, Twitter and
The document discusses various techniques for building mashup applications using Adobe AIR, including integrating HTML and JavaScript, monitoring network connectivity, working with files and SQLite databases, and creating different types of menus. Key topics include using the HTMLLoader class to display HTML, the URLMonitor class to check network status, File and FileStream classes to access files, and SQLConnection to interface with SQLite databases locally. The document also covers creating window, application, context and system tray menus in AIR applications.
The document discusses the Adobe Flex framework, which provides tools for building rich internet applications. It describes the key components of the Flex framework, including the MXML markup language, ActionScript programming language, and prebuilt class libraries. It also discusses some architectural patterns for organizing Flex applications and alternatives like Cairngorm and PureMVC frameworks.
This document discusses how to create an API project in MuleSoft using RAML and API Kit Router. It covers designing the API using the RAML specification in API Designer, creating the project in Anypoint Studio, running and testing the API project locally, and publishing the API to the Anypoint Exchange to enhance discoverability.
The document discusses mashups and various technologies used to create them such as Flex, E4X, HTTPService, crossdomain.xml, and AMF. It provides examples of using APIs from Amazon, Flickr, Yahoo, and Google to retrieve and combine data from multiple sources into new applications. It also discusses platforms like Yahoo Pipes that allow creating mashups visually without programming.
This document discusses a visit made to the website of ACME Car Rental, a leading travel services company in Malaysia. It provides details about ACME's history and services. The document also answers questions about how the website is developed and maintained. Key tools used include WebMatrix, ASP.NET, CSS, JavaScript, and Microsoft SQL Server. Security features implemented on the server include regular patching and password protection for changes. The website content is kept up-to-date through regular updates, response to feedback, and checking email regularly.
WebORB is a presentation server that allows Flex and Flash clients to remotely call and communicate with .NET objects and services as if they were local, providing features like remote procedure calls, data management, and real-time messaging. It handles converting data between the client and server and can automatically generate ActionScript and .NET code for database integration. WebORB editions are free to use for all development and production purposes.
Rich Internet Applications (RIAs) are web applications that offer functionality similar to desktop applications through a combination of client-side processing and data manipulation on the server-side. Some key technologies used to create RIAs include Adobe Flex, Google Web Toolkit, and frameworks that use AJAX. AJAX allows for asynchronous data exchange between the client and server for a more interactive user experience compared to traditional web pages.
The document provides an overview of building web applications using ASP.NET and .NET Framework. It discusses the key features of ASP.NET like server controls, master pages, themes, data access, security etc. It also covers ASP.NET programming basics, different page models, folder structure and the ASP.NET execution model.
A few weeks ago Microsoft Chief Technical Officer Ray Ozzie unveiled a concept called Live Clipboard, at the O'Reilly Emerging Technology Conference. The main idea behind the concept is to provide for the web what the clipboard does today for desktop applications.
Unit - 1: ASP.NET Basic
~~~~~~~~~~~~~~~~~~~~
Introduction to ASP.NET: .NET Framework (CLR, CLI, BCL), ASP.NET Basics, ASP.NET Page Structure, Page Life Cycle.
Controls: HTML Server Controls, Web Server Controls, Web User Controls, Validation Controls, Custom Web Controls.
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
Active server pages .net role discusses shifting from classic ASP to ASP.NET, which provides a framework with namespaces and can be developed using an IDE. ASP.NET uses web forms and pages, separating HTML from application logic. It discusses state management techniques like cookies and hidden fields to maintain state across HTTP requests. The key objectives of ASP.NET are to create web forms with server controls, separate code and content, display dynamic data through binding, and debug ASP.NET pages.
The document provides an overview of Flex and how it can be used to develop rich internet applications. It discusses key Flex concepts like MXML, ActionScript and CSS. It also summarizes various ways Flex applications can communicate with backend systems including using JavaScript, HTTPService, web services and integrating with Java frameworks like Spring and portals like WebSphere.
Mike Taulty MIX10 Silverlight Frameworks and Patternsukdpe
This document provides an overview and summary of Silverlight 4 frameworks, patterns, and capabilities. It discusses ASP.NET client application services, WCF data services, WCF RIA services, navigation, search, extensible applications using MEF, and the MVVM pattern. The document includes several demos that could be shown to illustrate these topics. It also provides information on related sessions at the conference to learn more.
RIAs are web applications that have features and functionality similar to desktop applications. They typically have a separate client and server component. Flex is a framework for developing RIAs using MXML and ActionScript. It allows building rich user interfaces, accessing data via web services, and deploying applications to the web or desktop. Flex applications consist of UI code in MXML, dynamic behavior in ActionScript, and data services. They are compiled to SWF files to run across browsers.
RIAs are web applications that have features and functionality similar to desktop applications. They typically have a separate client and server component. Flex is a framework for developing RIAs using MXML and ActionScript. It allows building rich user interfaces, accessing data via web services, and deploying applications to the web or desktop. Flex applications consist of UI code in MXML, dynamic behavior in ActionScript, and data services. They are compiled to SWF files to run across browsers.
This document provides an introduction to SharePoint development for .NET developers. It discusses the SharePoint platform editions, when to develop on the SharePoint platform, development tools and approaches such as the client object model, and resources for learning more about SharePoint development.
Similaire à Developing Mash up applications with Adobe AIR (20)
HTML5 Italy: Back end ecosystems for your applications - Cesare Rocchi + Clau...marcocasario
The document discusses different backend options for mobile applications, including custom backends, iCloud, Dropbox, cloud platforms like Heroku, and backend as a service (BaaS) providers. It compares features of the options like data storage models, management requirements, costs, and lock-in. Popular BaaS providers mentioned are Parse, Kinvey, and BaasBox which provides user management, data storage, and push notifications without requiring an application server or database server.
HTML5 Italy: Mai più CSS, fogli di stile moderni con LESS - Salvatore Romeomarcocasario
Talk di Salvatore Rome per il meeting di HTML5 Italy.
Se vi capita di avere fogli di stile disorganizzati, di usare il copia-incolla per ridefinire delle regole CSS, di dover cambiare un colore o un valore con Trova&Sostituisci... LESS è la soluzione.
Scopriremo l'uso delle variabili per definire i colori e le dimensioni principali, i mixin per creare regole complesse e riutilizzarle (come effetti ombra o animazioni), le nested rules per ordinare il codice e le funzioni per i colori.
Inoltre vedremo come sottolineare gli errori di sintassi e come automatizzare la compilazione in file CSS.
Dopo questo tutorial non vorrete più tornare ai CSS!
HTML5 cross-platform and device development: web app per tutti gli schermimarcocasario
Non esiste il mobile web, il tablet web o il desktop web. E' sempre lo stesso web solo fruito da dispositivi diversi. Un nuovo approccio allo sviluppo delle web application sta emergendo e diventando sempre più necessario. Quello che abbandona le dimensioni fisse ed utilizza invece le tecniche di Responsive Web Design. In questa sessione rivolta ai web developer, web designer e User Interface designer, verranno mostrate le tecniche, gli UX design patterns e i linguaggi necessari a creare le applicazioni del futuro: quelle che saranno fruibili da qualsiasi dispositivo.
Marco Casario, CTO di Comtaste, autore del libro HTML5 Solutions e docente del corso Rich Web Apps con HTML5 presenterà un talk interamente dedicato a questo argomento, condividendo le esperienze reali, fatte durante la gestione dei progetti degli ultimi due anni.
Mobile HTML5 Web Apps - Codemotion 2012marcocasario
The document discusses the differences between native mobile apps and mobile web apps. It notes that native apps can more fully integrate with device hardware and have better performance, but that web apps are cross-platform, use open web standards, and can be updated remotely without app store approvals. It also provides an example of the Financial Times which delivers a mobile web app that is optimized for iPad and iPhone through the Safari browser rather than a native app.
Enterprise Spring and Flex applicationsmarcocasario
SpringSource ha recentemente annunciato Spring BlazeDS Integration, un nuovo progetto open source per permettere una facile integrazione tra il framework Spring e Adobe BlazeDS, una tecnologia open source basata su server Java remoting e Web messaging.
Il plugin di SpringSource fornisce un approccio più semplice ed intuitivo agli sviluppatori Spring e Java per creare Enterprise Rich Internet Applications utilizzando il framework Adobe Flex, una pietra miliare della Flash Platform.
In questa sessione ai partecipanti verrà fornita una panoramica del framework Flex e di BlazeDS, illustrando i vantaggi e le modalità di integrazione al framework Spring attraverso il plugin Spring BlazeDS.
Local Persistent data with ActionScript 3 and AIRmarcocasario
This is the presentation I had at the FITC 2009 Conference in Amsterdam:
One of the main benefits for web developers who use the Adobe AIR runtime rather than Flash Player through a browser is that the security sandbox restrictions placed on the browser-based Flash Player do not exist within AIR applications.
You have now complete access to the operating system's file system and your applications have the ability to read, write, move, and delete files as well as creating and querying SQLite local databases.
In this session you'll learn how to leverage the file system's access features of the AIR APIs and how to apply advanced techniques to store data locally.
The document discusses using rich internet applications and multimedia content to improve user experiences in enterprise applications. It introduces Comtaste as a company that develops RIAs using technologies like Java, Flash, and Flex to create applications like YouThru.Biz, an applicant tracking system that allows recruiters to quickly sort and evaluate candidates using multimedia content like video interviews.
Flex and AIR User Interface Design Showcases and Examplesmarcocasario
The document describes a user interface for managing different types of data and relationships. It includes sections for data management, relationship management, censuses, searches, and special functions. The interface provides login/logout functionality and allows accessing census data for individuals with options to insert or view details. It also includes interfaces for finding, sharing, and managing resources and tutorials.
Marco Casario is the CTO of Comtaste, a RIA development, consulting and training firm. He has authored books on Flex and AIR and blogs about these topics. He will be giving a talk on best practices for using SQLite with Flex and AIR, demonstrating how to create and open databases, perform synchronous and asynchronous operations, insert and display records, and use the DAO pattern. He notes some inconsistencies in the AIR and Flex APIs.
Flex Daily Solutions provides tips for Flex application development including architecture patterns like view helpers and model locators, debugging techniques using logging APIs, optimizing Flex Builder performance, and overcoming cross-domain issues using techniques like proxy services. The document also recommends using open source Flex libraries to reduce development time.
Developing Adobe AIR desktop applicationsmarcocasario
This is the presentation I held at the FromAToWeb 2007 Event. It's about developing desktop applications using Adobe AIR. Adobe AIR is a cross-operating system runtime that allows web application developers to use their existing web development skills (HTML, Javascript, Adobe Flash, Adobe Flex, Ajax) to build and deploy rich Internet applications to the desktop.
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfChart Kalyan
A Mix Chart displays historical data of numbers in a graphical or tabular form. The Kalyan Rajdhani Mix Chart specifically shows the results of a sequence of numbers over different periods.
OpenID AuthZEN Interop Read Out - AuthorizationDavid Brossard
During Identiverse 2024 and EIC 2024, members of the OpenID AuthZEN WG got together and demoed their authorization endpoints conforming to the AuthZEN API
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxSitimaJohn
Ocean Lotus cyber threat actors represent a sophisticated, persistent, and politically motivated group that poses a significant risk to organizations and individuals in the Southeast Asian region. Their continuous evolution and adaptability underscore the need for robust cybersecurity measures and international cooperation to identify and mitigate the threats posed by such advanced persistent threat groups.
Generating privacy-protected synthetic data using Secludy and MilvusZilliz
During this demo, the founders of Secludy will demonstrate how their system utilizes Milvus to store and manipulate embeddings for generating privacy-protected synthetic data. Their approach not only maintains the confidentiality of the original data but also enhances the utility and scalability of LLMs under privacy constraints. Attendees, including machine learning engineers, data scientists, and data managers, will witness first-hand how Secludy's integration with Milvus empowers organizations to harness the power of LLMs securely and efficiently.
Building Production Ready Search Pipelines with Spark and MilvusZilliz
Spark is the widely used ETL tool for processing, indexing and ingesting data to serving stack for search. Milvus is the production-ready open-source vector database. In this talk we will show how to use Spark to process unstructured data to extract vector representations, and push the vectors to Milvus vector database for search serving.
UiPath Test Automation using UiPath Test Suite series, part 6DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 6. In this session, we will cover Test Automation with generative AI and Open AI.
UiPath Test Automation with generative AI and Open AI webinar offers an in-depth exploration of leveraging cutting-edge technologies for test automation within the UiPath platform. Attendees will delve into the integration of generative AI, a test automation solution, with Open AI advanced natural language processing capabilities.
Throughout the session, participants will discover how this synergy empowers testers to automate repetitive tasks, enhance testing accuracy, and expedite the software testing life cycle. Topics covered include the seamless integration process, practical use cases, and the benefits of harnessing AI-driven automation for UiPath testing initiatives. By attending this webinar, testers, and automation professionals can gain valuable insights into harnessing the power of AI to optimize their test automation workflows within the UiPath ecosystem, ultimately driving efficiency and quality in software development processes.
What will you get from this session?
1. Insights into integrating generative AI.
2. Understanding how this integration enhances test automation within the UiPath platform
3. Practical demonstrations
4. Exploration of real-world use cases illustrating the benefits of AI-driven test automation for UiPath
Topics covered:
What is generative AI
Test Automation with generative AI and Open AI.
UiPath integration with generative AI
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Speck&Tech
ABSTRACT: A prima vista, un mattoncino Lego e la backdoor XZ potrebbero avere in comune il fatto di essere entrambi blocchi di costruzione, o dipendenze di progetti creativi e software. La realtà è che un mattoncino Lego e il caso della backdoor XZ hanno molto di più di tutto ciò in comune.
Partecipate alla presentazione per immergervi in una storia di interoperabilità, standard e formati aperti, per poi discutere del ruolo importante che i contributori hanno in una comunità open source sostenibile.
BIO: Sostenitrice del software libero e dei formati standard e aperti. È stata un membro attivo dei progetti Fedora e openSUSE e ha co-fondato l'Associazione LibreItalia dove è stata coinvolta in diversi eventi, migrazioni e formazione relativi a LibreOffice. In precedenza ha lavorato a migrazioni e corsi di formazione su LibreOffice per diverse amministrazioni pubbliche e privati. Da gennaio 2020 lavora in SUSE come Software Release Engineer per Uyuni e SUSE Manager e quando non segue la sua passione per i computer e per Geeko coltiva la sua curiosità per l'astronomia (da cui deriva il suo nickname deneb_alpha).
Ivanti’s Patch Tuesday breakdown goes beyond patching your applications and brings you the intelligence and guidance needed to prioritize where to focus your attention first. Catch early analysis on our Ivanti blog, then join industry expert Chris Goettl for the Patch Tuesday Webinar Event. There we’ll do a deep dive into each of the bulletins and give guidance on the risks associated with the newly-identified vulnerabilities.
Taking AI to the Next Level in Manufacturing.pdfssuserfac0301
Read Taking AI to the Next Level in Manufacturing to gain insights on AI adoption in the manufacturing industry, such as:
1. How quickly AI is being implemented in manufacturing.
2. Which barriers stand in the way of AI adoption.
3. How data quality and governance form the backbone of AI.
4. Organizational processes and structures that may inhibit effective AI adoption.
6. Ideas and approaches to help build your organization's AI strategy.
Project Management Semester Long Project - Acuityjpupo2018
Acuity is an innovative learning app designed to transform the way you engage with knowledge. Powered by AI technology, Acuity takes complex topics and distills them into concise, interactive summaries that are easy to read & understand. Whether you're exploring the depths of quantum mechanics or seeking insight into historical events, Acuity provides the key information you need without the burden of lengthy texts.
In the rapidly evolving landscape of technologies, XML continues to play a vital role in structuring, storing, and transporting data across diverse systems. The recent advancements in artificial intelligence (AI) present new methodologies for enhancing XML development workflows, introducing efficiency, automation, and intelligent capabilities. This presentation will outline the scope and perspective of utilizing AI in XML development. The potential benefits and the possible pitfalls will be highlighted, providing a balanced view of the subject.
We will explore the capabilities of AI in understanding XML markup languages and autonomously creating structured XML content. Additionally, we will examine the capacity of AI to enrich plain text with appropriate XML markup. Practical examples and methodological guidelines will be provided to elucidate how AI can be effectively prompted to interpret and generate accurate XML markup.
Further emphasis will be placed on the role of AI in developing XSLT, or schemas such as XSD and Schematron. We will address the techniques and strategies adopted to create prompts for generating code, explaining code, or refactoring the code, and the results achieved.
The discussion will extend to how AI can be used to transform XML content. In particular, the focus will be on the use of AI XPath extension functions in XSLT, Schematron, Schematron Quick Fixes, or for XML content refactoring.
The presentation aims to deliver a comprehensive overview of AI usage in XML development, providing attendees with the necessary knowledge to make informed decisions. Whether you’re at the early stages of adopting AI or considering integrating it in advanced XML development, this presentation will cover all levels of expertise.
By highlighting the potential advantages and challenges of integrating AI with XML development tools and languages, the presentation seeks to inspire thoughtful conversation around the future of XML development. We’ll not only delve into the technical aspects of AI-powered XML development but also discuss practical implications and possible future directions.
Your One-Stop Shop for Python Success: Top 10 US Python Development Providersakankshawande
Simplify your search for a reliable Python development partner! This list presents the top 10 trusted US providers offering comprehensive Python development services, ensuring your project's success from conception to completion.
Introduction of Cybersecurity with OSS at Code Europe 2024Hiroshi SHIBATA
I develop the Ruby programming language, RubyGems, and Bundler, which are package managers for Ruby. Today, I will introduce how to enhance the security of your application using open-source software (OSS) examples from Ruby and RubyGems.
The first topic is CVE (Common Vulnerabilities and Exposures). I have published CVEs many times. But what exactly is a CVE? I'll provide a basic understanding of CVEs and explain how to detect and handle vulnerabilities in OSS.
Next, let's discuss package managers. Package managers play a critical role in the OSS ecosystem. I'll explain how to manage library dependencies in your application.
I'll share insights into how the Ruby and RubyGems core team works to keep our ecosystem safe. By the end of this talk, you'll have a better understanding of how to safeguard your code.
Monitoring and Managing Anomaly Detection on OpenShift.pdfTosin Akinosho
Monitoring and Managing Anomaly Detection on OpenShift
Overview
Dive into the world of anomaly detection on edge devices with our comprehensive hands-on tutorial. This SlideShare presentation will guide you through the entire process, from data collection and model training to edge deployment and real-time monitoring. Perfect for those looking to implement robust anomaly detection systems on resource-constrained IoT/edge devices.
Key Topics Covered
1. Introduction to Anomaly Detection
- Understand the fundamentals of anomaly detection and its importance in identifying unusual behavior or failures in systems.
2. Understanding Edge (IoT)
- Learn about edge computing and IoT, and how they enable real-time data processing and decision-making at the source.
3. What is ArgoCD?
- Discover ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes, and its role in deploying applications on edge devices.
4. Deployment Using ArgoCD for Edge Devices
- Step-by-step guide on deploying anomaly detection models on edge devices using ArgoCD.
5. Introduction to Apache Kafka and S3
- Explore Apache Kafka for real-time data streaming and Amazon S3 for scalable storage solutions.
6. Viewing Kafka Messages in the Data Lake
- Learn how to view and analyze Kafka messages stored in a data lake for better insights.
7. What is Prometheus?
- Get to know Prometheus, an open-source monitoring and alerting toolkit, and its application in monitoring edge devices.
8. Monitoring Application Metrics with Prometheus
- Detailed instructions on setting up Prometheus to monitor the performance and health of your anomaly detection system.
9. What is Camel K?
- Introduction to Camel K, a lightweight integration framework built on Apache Camel, designed for Kubernetes.
10. Configuring Camel K Integrations for Data Pipelines
- Learn how to configure Camel K for seamless data pipeline integrations in your anomaly detection workflow.
11. What is a Jupyter Notebook?
- Overview of Jupyter Notebooks, an open-source web application for creating and sharing documents with live code, equations, visualizations, and narrative text.
12. Jupyter Notebooks with Code Examples
- Hands-on examples and code snippets in Jupyter Notebooks to help you implement and test anomaly detection models.
8. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM Mash ups
9. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM In web development , a mashup is a web application that combines data from more than one source into a single integrated tool Mash up AIR Widgets
10. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM Why Mash up AIR Widgets It’s one of our deepest desire: to aggregate, manipulate any content type
11.
12.
13. FOTB 08 Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM YYou create a mash up using public APIs provided by the web application TThe APIs are a set of function that one computer makes available to other programs so they can talk to it directly YYou have to define how you will import data into the application and what protocols and formats are supported.
14. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM Don’t forget to read the Terms of Use for the APIs Commercial vs. Non-commercial Payment for use Rate limits Content ownership Caching Privacy Policy
15. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM WWeb site’s URLs have their language. SSome URLs uses a highly expressive language making possible for other users to make mashups easier. AAddressability means that every interesting aspect of your service is immediately accessible from the outside. RRestful Web Services by Richardson and Ruby
16.
17. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM FFeeds are documents used for providing users with frequently updated content. RRSS and ATOM are feed data formats to structure TThey are important because we use feeds to aggregate and consume external content. NNo need of XML-based APIs
18. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM RREST (Representational state transfer ) strictly refers to a collection of network architecture principles which outline how resources are defined and addressed.
20. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM The text expressed as JSON: {"menu": { "id": "file", "value": "File", "popup": { "menuitem": [ {"value": "New", "onclick": "CreateNewDoc()"}, {"value": "Open", "onclick": "OpenDoc()"}, {"value": "Close", "onclick": "CloseDoc()"} ] } }} The text expressed as XML: <menu id="file" value="File"> <popup> <menuitem value="New" onclick="CreateNewDoc()" /> <menuitem value="Open" onclick="OpenDoc()" /> <menuitem value="Close" onclick="CloseDoc()" /> </popup> </menu>
21. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM With Adobe AIR , the creation of mash-up applications and widgets offers even greater possibilities. AIR actually makes it possible to go beyond all the sandbox security of the browser and to add advanced features to the applicaiton to interact with the file system or local storage with SQLite
22. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM In a context where several different data sources are mixed together into a main shell, is very important to structure a rigid and solid application. A centralized data repository is needed to access data buried within different components easier To accomplish these goals a Design Pattern Analisys is required
23.
24. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM A view helper contains formatting code, delegating its processing responsibilities to its helper classes, implemented as Actionscript classes. Helpers also store the view's intermediate data model and serve as business data adapters. A View Helper consists in an ActionScript class that encapsulates business logic in a helper instead of a view, making our application more modular by facilitating component re-use.
25. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM The Model Locator pattern defines a component that is responsible for centralizing data in an application. When the data is updated in ModelLocator , all view components binded to the model, update themselves to render the new data. A Model Locator is an ActionScript class that uses the Singleton pattern. This pattern has a method that creates a new instance of the class if one does not exist. If an instance already exists, it simply returns a reference to that object.
26.
27. The as3corelib http://code.google.com/p/as3corelib/ contains a number of classes and utilities for working with ActionScript 3. These include classes for MD5 and SHA 1 hashing, Image encoders, and JSON serialization as well as general String, Number and Date APIs. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM
28. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM The as3syndicationlib http://code.google.com/p/as3syndicationlib / library provides classes to parse RSS 1.0, RSS 2.0 and ATOM data feeds easily. It also provides a generic interface for parsing feeds when you do not know the format of the feeds.
29. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM The FlexLib project is a community effort to create open source user interface components for Adobe Flex 2 and 3. http://code.google.com/p/flexlib/
30. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM It’s a work in progress library that provides code for creating multi-window applications e Flex-based personalized start page (such as NetVibes, YourMinis …) The library developed by Comtaste will be released as open source as soon as the code will be better organized.
33. Flick is an online photo management and sharing application . Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM
34. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM Getting the flickr.photos.search method http://flickr.com/services/api/flickr.photos.search.html Return a list of photos matching some criteria. 2
35. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM 3 Flickr APIs are designed to allow you to send request and get response. Flickr uses the following URL schema for photos : www.flickr.com/photos/tags/{tag_name} The easiest Flickr’s request: http://api.flickr.com/services/rest/?method=flickr.photos.search&api_key={yourkey}&tags=seychelles&per_page=5
36.
37.
38.
39. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM YouTube is the most famous video sharing application on the web.
40.
41.
42.
43. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM TTwitterScript ( http://code.google.com/p/twitterscript/ ) iImplements all the features provided by the Twitter APIs except for the authentication. WWith the exception of the public timeline, all Twitter API methods require authentication.
44.
45. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM 3 ACTIONSCRIPT 3 var urlCheck:URLRequest = new URLRequest('http://www.comtaste.com'); urlMonitor:URLMonitor = new URLMonitor ( urlRequest ); urlMonitor.start(); urlMonitor.addEventListener( StatusEvent.STATUS, onStatusEvent ); Use the method property to check only the http header for a HTTP service: urlRequest .method = URLRequestMethod.HEAD;
46. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM 2 Adobe AIR allows a strong integration with HTML content and JavaScript using the embedded WebKit engine AIR offers a complete and robust HTML renderer and JavaScript interpreter to recreate a browser-like experience. The HTMLoader class allows us to view HTML content in an AIR application. The HTML content can be directly loaded by a URL, or it can be assigned to the object as a String.
47. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM 3 ACTIONSCRIPT 3 var html:HTMLLoader = new HTMLLoader; html.width = 320; html.height = 240; var urlReq:URLRequest = new URLRequest("http://www.comtaste.com/en"); html.load(urlReq);
48. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM 4 ACTIONSCRIPT 3 var html:HTMLLoader = new HTMLLoader; html.width = 320; html.height = 240; var htmlCode:String = "<html><body><h1>Hello World!</h1></b>.</body></html>"; html.loadString(htmlCode); You can also use the HTML Flex component: <mx:HTML id="content" location="http://www.comtaste.com/en"/>
49.
50. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM 3 ACTIONSCRIPT 3 NativeApplication.nativeApplication.idleThreshold = 120; // 2 minutes NativeApplication.nativeApplication.addEventListener(Event.USER_IDLE, function(event:Event) { trace("Idle"); }); NativeApplication.nativeApplication.addEventListener(Event.USER_PRESENT, function(event:Event) { trace("Present"); }); This code sets the idle threshold to 2 minutes and listen for both the userIdle and userPresent events.
51. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM 2
52. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM 3 1 Window menus WWindow menus are associated to a specific window of the application and are placed straight under the title bar. TThis type of menu is only available on Microsoft Windows systems.
53. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM 4 2 Application menus AApplication menus are associated to the entire Adobe AIR application. They aren’t displayed in a single window, but are placed at the top of the desktop. TThis type of menu is only available for Mac OS X systems.
54. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM 5 ACTIONSCRIPT 3 var menu:NativeMenu = new NativeMenu(); // add a NativeMenuItem to native menu menu.addItem( new NativeMenuItem( “menu element” ) ); // add a submenu to native menu Menu.addSubMenu( new NativeMenu(), “submenu element” );
55. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM 5 ACTIONSCRIPT 3 To create an Application (Mac OSX) menu: If( NativeApplication.supportsMenu == true ) { // code to manage application menu NativeApplication.nativeApplication.menu = menuRoot; } To create a Window menu: If( NativeWindow.supportsMenu == true ) { // code to manage windows menu stage.nativeWindow.menu = menuRoot; }
56. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM Context menus A context menu is a menu that appears when you right-click on Microsoft Windows systems. They appear on Mac OS X systems when you carry out the control-click combination. You can create context menus by using both the NativeMenu class provided by Adobe Air and the ContextMenu provided by Flash Player. 6
57. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM 7 ActionScript 3 var editContextMenu:ContextMenu = new ContextMenu(); var cutItem:ContextMenuItem = new ContextMenuItem("Cut") cutItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, doCutCommand); editContextMenu.customItems.push(cutItem); var copyItem:ContextMenuItem = new ContextMenuItem("Copy") copyItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, doCopyCommand); editContextMenu.customItems.push(copyItem); sprite.contextMenu = editContextMenu;
58. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM System tray and dock icon menus These menus are associated to the icons in the system tray or in the dock bar according to the operative system. They are displayed when the user right clicks on the icon.
59. Mash up AIR Widgets FOTB 08 WWW.COMTASTE.COM ActionScript 3 if ( NativeApplication.supportsDockIcon ) { // assign dock icon custom menu DockIcon( NativeApplication.nativeApplication.icon ).menu = menuRoot; } else if ( NativeApplication.supportsSystemTrayIcon ) { // assign system trsay icon custom menu SystemTrayIcon( NativeApplication.nativeApplication.icon ).menu = menuRoot; SystemTrayIcon( NativeApplication.nativeApplication.icon ).tooltip = "Application settings"; }}