The document discusses accessibility in web development and software applications. It covers regulations and guidelines for accessibility from the Web Accessibility Initiative (WAI) and other organizations. It also provides examples of implementing accessibility in Visual Studio .NET, C#, XHTML, and Microsoft Windows, including features for visual impairments, hearing impairments, and mobility issues. Specific techniques discussed include adding alt text for images, proper use of headings and structure, keyboard shortcuts, screen reading support, font size adjustments, and more.
This document provides an outline and overview of Chapter 12 which covers graphical user interface (GUI) concepts in Windows Forms. The chapter introduces GUI components like windows, controls, properties, events and event handling. It describes common controls like labels, text boxes, buttons and how to set properties, handle events, and lay out controls on a form. Code examples are provided to demonstrate creating a simple form with a textbox, label and button to display text on a label when a button is clicked.
This program allows a user to collect personal, educational, and professional information from a candidate to automatically generate a resume in rich text format (RTF). The program includes controls to dynamically add additional educational courses and work experiences. It collects information such as name, date of birth, address, education history, work experience, skills and generates an RTF resume file with the collected information.
This document discusses how to build aggregate or composite components, called SuperComponents, in Delphi. SuperComponents group existing subcomponents and their relationships into a single component managed by a container component. Key advantages include code shrinkage by encapsulating common component relationships, and allowing developers to build applications from these reusable building blocks. The document provides steps to visually design a SuperComponent layout in Delphi, convert it to Object Pascal code, and initialize and manage the subcomponents to create a new reusable component. It also discusses how to expose properties of embedded subcomponents for developers to customize SuperComponent behavior.
The document discusses object-oriented programming concepts like polymorphism. It includes:
- An introduction to polymorphism and how it allows programs to handle related classes generically and be easily extensible.
- Examples of polymorphism including a shape hierarchy with classes like Quadrilateral, Rectangle, etc. and a space object hierarchy with classes that all implement a DrawYourself method.
- Details about abstract classes and how they provide base classes that concrete classes inherit from while requiring the concrete classes to implement abstract methods and properties.
- A case study demonstrating inheritance and polymorphism using abstract base class Shape and concrete classes Point2, Circle2, and Cylinder2 that inherit from Shape.
This document outlines key concepts related to data structures including linked lists, stacks, queues, and trees. It provides code examples of a Node class that is self-referential, allowing objects to link to one another. A LinkedListLibrary class is defined, with methods for inserting and removing nodes from linked lists. A ListTest class tests the functionality of the List class.
This document provides an outline and overview of Chapter 12 which covers graphical user interface (GUI) concepts in Windows Forms. The chapter introduces GUI components like windows, controls, properties, events and event handling. It describes common controls like labels, text boxes, buttons and how to set properties, handle events, and lay out controls on a form. Code examples are provided to demonstrate creating a simple form with a textbox, label and button to display text on a label when a button is clicked.
This program allows a user to collect personal, educational, and professional information from a candidate to automatically generate a resume in rich text format (RTF). The program includes controls to dynamically add additional educational courses and work experiences. It collects information such as name, date of birth, address, education history, work experience, skills and generates an RTF resume file with the collected information.
This document discusses how to build aggregate or composite components, called SuperComponents, in Delphi. SuperComponents group existing subcomponents and their relationships into a single component managed by a container component. Key advantages include code shrinkage by encapsulating common component relationships, and allowing developers to build applications from these reusable building blocks. The document provides steps to visually design a SuperComponent layout in Delphi, convert it to Object Pascal code, and initialize and manage the subcomponents to create a new reusable component. It also discusses how to expose properties of embedded subcomponents for developers to customize SuperComponent behavior.
The document discusses object-oriented programming concepts like polymorphism. It includes:
- An introduction to polymorphism and how it allows programs to handle related classes generically and be easily extensible.
- Examples of polymorphism including a shape hierarchy with classes like Quadrilateral, Rectangle, etc. and a space object hierarchy with classes that all implement a DrawYourself method.
- Details about abstract classes and how they provide base classes that concrete classes inherit from while requiring the concrete classes to implement abstract methods and properties.
- A case study demonstrating inheritance and polymorphism using abstract base class Shape and concrete classes Point2, Circle2, and Cylinder2 that inherit from Shape.
This document outlines key concepts related to data structures including linked lists, stacks, queues, and trees. It provides code examples of a Node class that is self-referential, allowing objects to link to one another. A LinkedListLibrary class is defined, with methods for inserting and removing nodes from linked lists. A ListTest class tests the functionality of the List class.
The document outlines the key topics covered in Chapter 15 on strings and characters in C#, including fundamentals of characters and strings, string constructors, using the string indexer and length property, comparing strings, and using methods like StartsWith and EndsWith. Code examples are provided to demonstrate using features like the string indexer, Length property, CopyTo method, comparing strings with Equals and CompareTo, and checking if a string starts or ends with a substring.
The document provides an overview of computers, operating systems, programming languages, the internet, and Microsoft .NET. It discusses the evolution of computers from early mainframes to personal computers and networks. It covers the development of operating systems, languages like C, C++, Java and C#, and web technologies like HTML, XML and the World Wide Web. It also summarizes Microsoft's .NET framework and how it allows applications to be developed in any .NET compatible language and run across platforms using the Common Language Runtime.
The document discusses accessibility in web development and software applications. It covers topics like web accessibility guidelines, providing alternatives for images, maximizing readability in structures, accessibility in Visual Studio .NET, C#, XHTML tables and frames, and accessibility tools. Code examples are provided to demonstrate making applications more accessible for people with disabilities.
The document outlines how to connect to and query an Access database using ADO.NET in C#. It describes creating a TableDisplay form with a DataGrid to display query results. The form initializes a DataSet and OleDbDataAdapter to retrieve data from the Authors table and bind it to the DataGrid. It also configures OleDbCommands for selecting, inserting, updating, and deleting data.
The document discusses various graphical user interface controls in C#, including menus, link labels, list boxes, combo boxes, tree views, and tab controls. It provides code examples to demonstrate how to implement menus with options to change font colors and styles, as well as link labels that link to other programs or files when clicked. Event handlers are used to handle user interactions with the controls.
Thymeleaf is a view engine that allows working with variables, forms, and conditional statements in views. Spring controllers are annotated with @Controller and actions are mapped to routes. Controllers have access to the HTTP request and session, and can pass data to views or redirect with parameters.
The document discusses tools and techniques for making Java development more enjoyable. It recommends using libraries like Mockito, Guice and Guava to simplify testing and dependency injection. It also suggests using builder patterns, writing concise yet descriptive unit tests, and avoiding string-typing in favor of object-oriented types.
在2014 年 4 月 //learn/ - Global Community Webcast Event 微軟全球線上廣播活動中,所講述到有關 Tiles, badges and toasts and action center 的課程。
http://channel9.msdn.com/Blogs/twmvp/Tiles-badges-and-toasts-and-action-center
sample code: http://goo.gl/ydh1tk
The document discusses various topics related to Visual Basic 6.0 including its integrated development environment, controls, statements, operators, variables, data types, and message boxes. It provides descriptions and examples of forms, controls, programming concepts, and functions in Visual Basic.
2008 - TechDays PT: WCF, JSON and AJAX for performance and manageabilityDaniel Fisher
The document profiles two software architects and CTOs at devocach, Daniel Fisher and Michael Willers. It lists their extensive experience in areas like development, architecture, consulting, and community events. It also outlines some of devocach's expertise, including service orientation, agile methods, web and data access, and security. The document emphasizes that devocach works on real projects, not just demonstrations.
The document outlines concepts related to graphical user interfaces (GUIs) and Windows Forms. It discusses key GUI components like windows, forms, controls and events. It covers how controls like labels, textboxes and buttons work. It also describes layout controls like group boxes and panels. Finally, it examines state buttons like checkboxes and radio buttons and how to handle events from these interface elements.
The document provides an overview of basic WPF controls, including text controls like Label and TextBox, button controls like Button and ToggleButton, list controls like ComboBox and ListView, and other controls like Slider, ProgressBar, ToolTip, and how to create custom UserControls. It includes examples and brief descriptions of each control and discusses properties, events, and how to customize their appearance and behavior.
This document provides a tutorial for using Ranorex to test the GUI of a SimpleCalculator application. It discusses:
1. Installing and setting up Ranorex, which allows simulating user interactions for GUI testing.
2. Adding a GUITester class to an existing SimpleCalculator project and referencing the Ranorex library.
3. Writing tests that use Ranorex methods to control the mouse, interact with calculator controls, and assert the result is correct.
4. Running the GUI tests using the NUnit test runner to automatically simulate user interactions and verify functionality.
Assignment/ACSC_424_midterm_fall_2012.pdf
1
ACSC424 – Network Application Programming – Midterm exercise
Create a chat program that will be based on client server architecture.
The server will be responsible for connecting clients like the following diagram:
- Each client will be connected on the server after a short authentication protocol as follows:
o The server will be continuously listening to port 9000 for incoming connections
o When a client is connected the server will have to accept the connection using
the following protocol:
1. Server: OK
2. Client: USER: <user name>
3. Server: USER OK or else disconnect client
a. it depends on the user name if it is already in the users list of the server
b. if the user is already connected perhaps from another computer it
should be disconnected
4. Client: DATA
5. Server: OK DATA
a. When this procedure is finished the client will get connected to port
9001 which is going to be used for data communications
b. When a client is connected the server will send a message to all other
connected clients to port 9000 that e.g Client A is connected
- The server will reject every user that is trying to register using an illegal user name
(see step3)
- Server must be able to connect up to five clients
- Clients will send data (messages) to another client or to all connected clients and server will
forward it appropriately.
_ _X
Server
Client A
Client C
Client B
2
Students will have to create two programs
a) The server, will have the following interface:
b) The client, will have the following interface:
Bonus part:
Add a file exchange function between the clients.
All the above will be returned online
(Visual Studio C# , file and documents according to the assignment guidelines)
IP address of server
Text to be send to remote point
Send button, when pressed data from
send text box must be transmitted to
the server
Data coming from other clients
Send data
List of connected clients IP address of
remote point
192.168.1.10: connected (Client 1)
192.168.1.30: connected (Client 3)
192.168.1.10: disconnected (Client 5)
Connect
192.168.1.102: hello all (client 3: all)
192.168.1.30: this is user 5 (client 5)
User Name Client 1
Data coming from clients. Any data
coming from clients will be displayed
here and then will be forwarded to
either another client or all of them
o Client 1
o Client 2
o Client 3
o Client 4
o Client 5
All
Select message recipient, either one of
the clients or all of them
o Client 1
o Client 2
o Client 3
o Client 4
o Client 5
All
Send data
Select a client or all of them and send
a message from the server
Assignment/Help Assignment/ACSC_424_ass4_fall_2012.pdf
ACSC424 – Network Application Programming – Lab4 TCP/IP programming
Efthyvoulos Kyriacou
...
The document discusses Simple API for XML (SAX), an event-based model for parsing XML documents. SAX involves defining handler methods that are called when XML parsing events occur, like start elements or character data. This allows applications to process XML documents as they are parsed without loading the entire document into memory. The example shows a SAX parser that outputs a tree structure of an XML document by overriding handler methods.
1. After installing the SDK, you need to create a new Android project, add activities and permissions, and initialize the user interface.
2. Layouts can be created using XML or programmatically, and activities have a lifecycle that is important to understand.
3. Common functionality includes working with buttons, touch listeners, calling other apps, Bluetooth, location services, and using the camera.
Powershell Seminar @ ITWorx CuttingEdge ClubEssam Salah
Windows PowerShell is a new interactive shell and scripting language based on .NET. It allows access to system resources like file systems and data stores in an easy way. PowerShell aims to make administrators more productive and secure by default. It is supported on Windows XP and above and many Microsoft products. PowerShell provides a command line experience and can also be used for GUI scripting and custom applications.
The document outlines the key topics covered in Chapter 15 on strings and characters in C#, including fundamentals of characters and strings, string constructors, using the string indexer and length property, comparing strings, and using methods like StartsWith and EndsWith. Code examples are provided to demonstrate using features like the string indexer, Length property, CopyTo method, comparing strings with Equals and CompareTo, and checking if a string starts or ends with a substring.
The document provides an overview of computers, operating systems, programming languages, the internet, and Microsoft .NET. It discusses the evolution of computers from early mainframes to personal computers and networks. It covers the development of operating systems, languages like C, C++, Java and C#, and web technologies like HTML, XML and the World Wide Web. It also summarizes Microsoft's .NET framework and how it allows applications to be developed in any .NET compatible language and run across platforms using the Common Language Runtime.
The document discusses accessibility in web development and software applications. It covers topics like web accessibility guidelines, providing alternatives for images, maximizing readability in structures, accessibility in Visual Studio .NET, C#, XHTML tables and frames, and accessibility tools. Code examples are provided to demonstrate making applications more accessible for people with disabilities.
The document outlines how to connect to and query an Access database using ADO.NET in C#. It describes creating a TableDisplay form with a DataGrid to display query results. The form initializes a DataSet and OleDbDataAdapter to retrieve data from the Authors table and bind it to the DataGrid. It also configures OleDbCommands for selecting, inserting, updating, and deleting data.
The document discusses various graphical user interface controls in C#, including menus, link labels, list boxes, combo boxes, tree views, and tab controls. It provides code examples to demonstrate how to implement menus with options to change font colors and styles, as well as link labels that link to other programs or files when clicked. Event handlers are used to handle user interactions with the controls.
Thymeleaf is a view engine that allows working with variables, forms, and conditional statements in views. Spring controllers are annotated with @Controller and actions are mapped to routes. Controllers have access to the HTTP request and session, and can pass data to views or redirect with parameters.
The document discusses tools and techniques for making Java development more enjoyable. It recommends using libraries like Mockito, Guice and Guava to simplify testing and dependency injection. It also suggests using builder patterns, writing concise yet descriptive unit tests, and avoiding string-typing in favor of object-oriented types.
在2014 年 4 月 //learn/ - Global Community Webcast Event 微軟全球線上廣播活動中,所講述到有關 Tiles, badges and toasts and action center 的課程。
http://channel9.msdn.com/Blogs/twmvp/Tiles-badges-and-toasts-and-action-center
sample code: http://goo.gl/ydh1tk
The document discusses various topics related to Visual Basic 6.0 including its integrated development environment, controls, statements, operators, variables, data types, and message boxes. It provides descriptions and examples of forms, controls, programming concepts, and functions in Visual Basic.
2008 - TechDays PT: WCF, JSON and AJAX for performance and manageabilityDaniel Fisher
The document profiles two software architects and CTOs at devocach, Daniel Fisher and Michael Willers. It lists their extensive experience in areas like development, architecture, consulting, and community events. It also outlines some of devocach's expertise, including service orientation, agile methods, web and data access, and security. The document emphasizes that devocach works on real projects, not just demonstrations.
The document outlines concepts related to graphical user interfaces (GUIs) and Windows Forms. It discusses key GUI components like windows, forms, controls and events. It covers how controls like labels, textboxes and buttons work. It also describes layout controls like group boxes and panels. Finally, it examines state buttons like checkboxes and radio buttons and how to handle events from these interface elements.
The document provides an overview of basic WPF controls, including text controls like Label and TextBox, button controls like Button and ToggleButton, list controls like ComboBox and ListView, and other controls like Slider, ProgressBar, ToolTip, and how to create custom UserControls. It includes examples and brief descriptions of each control and discusses properties, events, and how to customize their appearance and behavior.
This document provides a tutorial for using Ranorex to test the GUI of a SimpleCalculator application. It discusses:
1. Installing and setting up Ranorex, which allows simulating user interactions for GUI testing.
2. Adding a GUITester class to an existing SimpleCalculator project and referencing the Ranorex library.
3. Writing tests that use Ranorex methods to control the mouse, interact with calculator controls, and assert the result is correct.
4. Running the GUI tests using the NUnit test runner to automatically simulate user interactions and verify functionality.
Assignment/ACSC_424_midterm_fall_2012.pdf
1
ACSC424 – Network Application Programming – Midterm exercise
Create a chat program that will be based on client server architecture.
The server will be responsible for connecting clients like the following diagram:
- Each client will be connected on the server after a short authentication protocol as follows:
o The server will be continuously listening to port 9000 for incoming connections
o When a client is connected the server will have to accept the connection using
the following protocol:
1. Server: OK
2. Client: USER: <user name>
3. Server: USER OK or else disconnect client
a. it depends on the user name if it is already in the users list of the server
b. if the user is already connected perhaps from another computer it
should be disconnected
4. Client: DATA
5. Server: OK DATA
a. When this procedure is finished the client will get connected to port
9001 which is going to be used for data communications
b. When a client is connected the server will send a message to all other
connected clients to port 9000 that e.g Client A is connected
- The server will reject every user that is trying to register using an illegal user name
(see step3)
- Server must be able to connect up to five clients
- Clients will send data (messages) to another client or to all connected clients and server will
forward it appropriately.
_ _X
Server
Client A
Client C
Client B
2
Students will have to create two programs
a) The server, will have the following interface:
b) The client, will have the following interface:
Bonus part:
Add a file exchange function between the clients.
All the above will be returned online
(Visual Studio C# , file and documents according to the assignment guidelines)
IP address of server
Text to be send to remote point
Send button, when pressed data from
send text box must be transmitted to
the server
Data coming from other clients
Send data
List of connected clients IP address of
remote point
192.168.1.10: connected (Client 1)
192.168.1.30: connected (Client 3)
192.168.1.10: disconnected (Client 5)
Connect
192.168.1.102: hello all (client 3: all)
192.168.1.30: this is user 5 (client 5)
User Name Client 1
Data coming from clients. Any data
coming from clients will be displayed
here and then will be forwarded to
either another client or all of them
o Client 1
o Client 2
o Client 3
o Client 4
o Client 5
All
Select message recipient, either one of
the clients or all of them
o Client 1
o Client 2
o Client 3
o Client 4
o Client 5
All
Send data
Select a client or all of them and send
a message from the server
Assignment/Help Assignment/ACSC_424_ass4_fall_2012.pdf
ACSC424 – Network Application Programming – Lab4 TCP/IP programming
Efthyvoulos Kyriacou
...
The document discusses Simple API for XML (SAX), an event-based model for parsing XML documents. SAX involves defining handler methods that are called when XML parsing events occur, like start elements or character data. This allows applications to process XML documents as they are parsed without loading the entire document into memory. The example shows a SAX parser that outputs a tree structure of an XML document by overriding handler methods.
1. After installing the SDK, you need to create a new Android project, add activities and permissions, and initialize the user interface.
2. Layouts can be created using XML or programmatically, and activities have a lifecycle that is important to understand.
3. Common functionality includes working with buttons, touch listeners, calling other apps, Bluetooth, location services, and using the camera.
Powershell Seminar @ ITWorx CuttingEdge ClubEssam Salah
Windows PowerShell is a new interactive shell and scripting language based on .NET. It allows access to system resources like file systems and data stores in an easy way. PowerShell aims to make administrators more productive and secure by default. It is supported on Windows XP and above and many Microsoft products. PowerShell provides a command line experience and can also be used for GUI scripting and custom applications.
The document discusses renaming features in Visual Studio 2015. It describes how VS2015 provides renaming assistance through suggestions from the light bulb icon and previews changes before renaming. The renaming window allows renaming variables, methods, properties, classes, parameters and strings. It can also rename code comments and detect conflicts if the new name already exists. Renaming occurs inline and on the fly. The examples demonstrate renaming a variable, method, and parameter across multiple files. VS2015 helps optimize code through intelligent and automated renaming.
This document provides a tutorial on creating widgets and personal learning environments (PLEs) using W3C widget specifications. It covers key aspects of widget packaging, configuration files, preferences, scripting interfaces, and testing widgets in different browsers and environments. The goal is to explain the main features needed to get started developing widgets that can be used and distributed in PLEs.
Scala Swing is a thin wrapper around Java's Swing GUI framework that aims to simplify it. It uses Scala features like case classes for events, partial functions for event handling, and integrates with Scala collections. This allows building GUI components like panels, buttons, and list views with less verbose code compared to plain Java Swing. Custom painting and mixing in traits also allows flexibility in building component appearances.
This document provides instructions for setting up and running a bot project using the Bot Builder SDK v4. It discusses downloading necessary software, creating a project in Visual Studio, implementing a welcome message, and managing state using user profiles and state accessors. The document contains code samples for creating a SampleBot class that inherits from IBot and uses state accessors and user profiles to save and retrieve a user's handle name.
The document discusses client-server networking using both stream sockets and datagrams. It provides code examples for a server and client application that allow text-based communication using stream sockets, establishing a connection between the two. It also gives an example of a connectionless server and client that can send and receive datagrams containing byte arrays to simulate a chat. The server waits for packets and displays the contents, then echoes the data back to the client.
This document outlines a chapter about ASP.NET and web services. It includes code for a web service called HugeInteger that performs operations on large integers. The HugeInteger service exposes methods like Add, Subtract, Bigger etc through SOAP over HTTP. It shows how to publish web services, add service references to projects, and invoke web service methods from a client application.
This chapter discusses ASP.NET web forms and controls. It introduces the system architecture of web applications with different tiers. It then demonstrates creating a simple web form application in Visual Studio that displays the current time using labels and setting properties in the code-behind file. The application is run locally and the generated HTML is shown.
This document discusses XML and the Document Object Model (DOM). It introduces XML documents and namespaces. It describes how the DOM represents an XML document as a tree structure with parent and child nodes. It provides code examples for reading an XML file using an XmlReader, and manipulating an XML document's DOM tree by building a copy of the tree as TreeNodes in a TreeView control.
The document describes how to search directories and files using the File and Directory classes in C#. It defines a regular expression to match file extensions and stores the number of files found for each extension. The program recursively searches all subdirectories, counts the number of files for each extension, and outputs a summary of the results. It also checks for and allows deleting any backup (.bak) files found.
The document discusses graphics and media capabilities in .NET, including graphics contexts, colors, fonts, and images. It covers creating graphics objects, setting colors using RGB values or names, constructing fonts and accessing font metrics, and loading/displaying images. Code examples are provided to demonstrate these graphics and font capabilities.
The document describes multithreading concepts in .NET including thread states, priorities, synchronization, and the producer-consumer relationship. It provides code examples to demonstrate threading without and with synchronization. Key points covered include allowing concurrent execution with threads, thread life cycles and states, using monitors for synchronization, and ensuring proper communication between producer and consumer threads.
This document discusses exception handling in C# and .NET. It provides examples of try/catch blocks, the different exception classes in .NET, and how to access exception properties like Message and StackTrace. Code samples are given that demonstrate throwing, catching, and rethrowing exceptions. Finally blocks are also discussed and shown to always execute even if an exception occurs.
The document discusses object-oriented programming concepts like inheritance, base classes, and derived classes. It provides code examples to illustrate inheritance relationships between classes like Point, Circle, and Cylinder. The code defines base classes like Point and derived classes like Circle that inherit properties and methods from their base classes. Tests are provided to create objects from derived classes and demonstrate inherited functionality.
The document describes object-oriented programming concepts like classes, objects, encapsulation, and properties. It provides code examples of a Time class that encapsulates time data and provides methods to work with it. The Time class uses properties to safely access private member variables for hour, minute and second. Constructors are demonstrated that initialize Time objects with different parameters.
The document outlines key concepts about arrays including:
- Declaring and allocating arrays
- Initializing arrays with initializer lists or dynamically with 'new'
- Accessing array elements using indexes/subscripts
- Common array operations like totaling elements, creating histograms, and using arrays as counters
It provides code examples demonstrating initializing arrays, summing array elements, creating a histogram to display array data, and using arrays as counters in a dice rolling simulation program.
The document outlines a chapter on methods in C#. It discusses key concepts like defining methods, passing arguments by value vs reference, and using built-in classes like Math. It provides examples of methods that square integers, find the maximum of 3 numbers, and demonstrate passing by reference and out parameters.
The document outlines control structures in programming, including counter-controlled repetition, the for loop structure, the switch multiple-selection structure, and the do/while repetition structure. It provides code examples to demonstrate these structures, including initializing and incrementing counters, using break and continue statements to alter loop flow, and displaying output.
The document outlines control structures in programming including algorithms, pseudocode, selection structures like if/else, repetition structures like while loops, and case studies applying these concepts. Key topics are counter-controlled and sentinel-controlled repetition for loops, and nesting control structures with if statements inside loops. Examples in C# demonstrate accumulating values in loops and nested if/else statements.
This document outlines the key concepts covered in Chapter 3 of an introduction to C# programming textbook. It discusses simple programs that print text, perform basic math operations, and make decisions using relational operators. Code examples are provided to demonstrate how to write, compile, and run simple C# console applications and use basic programming elements like variables, methods, and conditional statements.
The document provides an overview of the Visual Studio .NET integrated development environment (IDE). It describes the main interface elements like the menu bar, toolbar, solution explorer, toolbox and properties window. It then demonstrates how to create a simple project in Visual Studio .NET that displays text in a label and an image in a picture box without writing any code, using the drag and drop features of the IDE.
The document outlines key concepts about data structures including linked lists, stacks, queues, and trees. It provides code examples for a Node class that is self-referential, allowing objects to link to each other. It also includes a List class that implements basic linked list functionality through methods like InsertAtFront, InsertAtBack, RemoveFromFront, and RemoveFromBack. The code examples demonstrate how to create and manipulate linked lists through a List object.
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.
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.
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceIndexBug
Imagine a world where machines not only perform tasks but also learn, adapt, and make decisions. This is the promise of Artificial Intelligence (AI), a technology that's not just enhancing our lives but revolutionizing entire industries.
How to Get CNIC Information System with Paksim Ga.pptxdanishmna97
Pakdata Cf is a groundbreaking system designed to streamline and facilitate access to CNIC information. This innovative platform leverages advanced technology to provide users with efficient and secure access to their CNIC details.
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc
How does your privacy program stack up against your peers? What challenges are privacy teams tackling and prioritizing in 2024?
In the fifth annual Global Privacy Benchmarks Survey, we asked over 1,800 global privacy professionals and business executives to share their perspectives on the current state of privacy inside and outside of their organizations. This year’s report focused on emerging areas of importance for privacy and compliance professionals, including considerations and implications of Artificial Intelligence (AI) technologies, building brand trust, and different approaches for achieving higher privacy competence scores.
See how organizational priorities and strategic approaches to data security and privacy are evolving around the globe.
This webinar will review:
- The top 10 privacy insights from the fifth annual Global Privacy Benchmarks Survey
- The top challenges for privacy leaders, practitioners, and organizations in 2024
- Key themes to consider in developing and maintaining your privacy program
UiPath Test Automation using UiPath Test Suite series, part 5DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 5. In this session, we will cover CI/CD with devops.
Topics covered:
CI/CD with in UiPath
End-to-end overview of CI/CD pipeline with Azure devops
Speaker:
Lyndsey Byblow, Test Suite Sales Engineer @ UiPath, Inc.
For the full video of this presentation, please visit: https://www.edge-ai-vision.com/2024/06/building-and-scaling-ai-applications-with-the-nx-ai-manager-a-presentation-from-network-optix/
Robin van Emden, Senior Director of Data Science at Network Optix, presents the “Building and Scaling AI Applications with the Nx AI Manager,” tutorial at the May 2024 Embedded Vision Summit.
In this presentation, van Emden covers the basics of scaling edge AI solutions using the Nx tool kit. He emphasizes the process of developing AI models and deploying them globally. He also showcases the conversion of AI models and the creation of effective edge AI pipelines, with a focus on pre-processing, model conversion, selecting the appropriate inference engine for the target hardware and post-processing.
van Emden shows how Nx can simplify the developer’s life and facilitate a rapid transition from concept to production-ready applications.He provides valuable insights into developing scalable and efficient edge AI solutions, with a strong focus on practical implementation.
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.
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
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfPaige Cruz
Monitoring and observability aren’t traditionally found in software curriculums and many of us cobble this knowledge together from whatever vendor or ecosystem we were first introduced to and whatever is a part of your current company’s observability stack.
While the dev and ops silo continues to crumble….many organizations still relegate monitoring & observability as the purview of ops, infra and SRE teams. This is a mistake - achieving a highly observable system requires collaboration up and down the stack.
I, a former op, would like to extend an invitation to all application developers to join the observability party will share these foundational concepts to build on:
Programming Foundation Models with DSPy - Meetup SlidesZilliz
Prompting language models is hard, while programming language models is easy. In this talk, I will discuss the state-of-the-art framework DSPy for programming foundation models with its powerful optimizers and runtime constraint system.
Full-RAG: A modern architecture for hyper-personalizationZilliz
Mike Del Balso, CEO & Co-Founder at Tecton, presents "Full RAG," a novel approach to AI recommendation systems, aiming to push beyond the limitations of traditional models through a deep integration of contextual insights and real-time data, leveraging the Retrieval-Augmented Generation architecture. This talk will outline Full RAG's potential to significantly enhance personalization, address engineering challenges such as data management and model training, and introduce data enrichment with reranking as a key solution. Attendees will gain crucial insights into the importance of hyperpersonalization in AI, the capabilities of Full RAG for advanced personalization, and strategies for managing complex data integrations for deploying cutting-edge AI solutions.
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
Infrastructure Challenges in Scaling RAG with Custom AI modelsZilliz
Building Retrieval-Augmented Generation (RAG) systems with open-source and custom AI models is a complex task. This talk explores the challenges in productionizing RAG systems, including retrieval performance, response synthesis, and evaluation. We’ll discuss how to leverage open-source models like text embeddings, language models, and custom fine-tuned models to enhance RAG performance. Additionally, we’ll cover how BentoML can help orchestrate and scale these AI components efficiently, ensuring seamless deployment and management of RAG systems in the cloud.
Infrastructure Challenges in Scaling RAG with Custom AI models
Csphtp1 24
1. Chapter 24 – Accessibility Outline 24.1 Introduction 24.2 Regulations and Resources 24.3 Web Accessibility Initiative 24.4 Providing Alternatives for Images 24.5 Maximizing Readability by Focusing on Structure 24.6 Accessibility in Visual Studio .NET 24.6.1 Enlarging Toolbar Icons 24.6.2 Enlarging the Text 24.6.3 Modifying the Toolbox 24.6.4 Modifying the Keyboard 24.6.5 Rearranging Windows 24.7 Accessibility in C# 24.8 Accessibility in XHTML Tables
2. Chapter 24 – Accessibility Outline 24.9 Accessibility in XHTML Frames 24.10 Accessibility in XML 24.11 Using Voice Synthesis and Recognition with VoiceXML™ 24.12 CallXML™ 24.13 JAWS® for Windows 24.14 Other Accessibility Tools 24.15 Accessibility in Microsoft® Windows® 2000 24.15.1 Tools for People with Visual Impairments 24.15.2 Tools for People with Hearing Impairments 24.15.3 Tools for Users Who Have Difficulty Using the Keyboard 24.15.4 Microsoft Narrator 24.15.5 Microsoft On-Screen Keyboard 24.15.6 Accessibility Features in Microsoft Internet Explorer 5.5 24.16 Internet and World Wide Web Resources
22. TextToSpeech.cs 1 // Fig. 24.13: TextToSpeech.cs 2 // Providing audio for people with visual impairments. 3 4 using System; 5 using System.Drawing; 6 using System.Collections; 7 using System.ComponentModel; 8 using System.Windows.Forms; 9 using System.Data; 10 11 // helps users navigate a form with aid of audio cues 12 public class TextToSpeech : System.Windows.Forms.Form 13 { 14 private System.Windows.Forms.Label nameLabel; 15 private System.Windows.Forms.Label phoneLabel; 16 17 private System.Windows.Forms.TextBox nameTextBox; 18 private System.Windows.Forms.TextBox phoneTextBox; 19 private System.Windows.Forms.TextBox passwordTextBox; 20 21 private System.Windows.Forms.Button submitButton; 22 23 private System.Windows.Forms.Label passwordLabel; 24 25 private AxHTTSLib.AxTextToSpeech speaker; 26 27 private System.ComponentModel.Container components = null ; 28 29 // default constructor 30 public TextToSpeech() 31 { 32 InitializeComponent(); 33 Text-to-speech control
23. TextToSpeech.cs 34 // set Form to be visible to accessibility applications 35 this .IsAccessible = true ; 36 37 // let all controls be visible to accessibility applications 38 foreach ( Control current in this .Controls ) 39 current.IsAccessible = true ; 40 } 41 42 private void InitializeComponent() 43 { 44 this .nameLabel.AccessibleDescription = "User Name" ; 45 this .nameLabel.AccessibleName = "User Name" ; 46 this .nameLabel.TabIndex = 5 ; 47 this .nameLabel.MouseHover += 48 new System.EventHandler( this .controls_MouseHover ); 49 50 this .phoneLabel.AccessibleDescription = 51 "Phone Number Label" ; 52 this .phoneLabel.AccessibleName = "Phone Number Label" ; 53 this .phoneLabel.TabIndex = 6 ; 54 this .phoneLabel.MouseHover += 55 new System.EventHandler( this .controls_MouseHover ); 56 57 this .nameTextBox.AccessibleDescription = 58 "Enter User Name" ; 59 this .nameTextBox.AccessibleName = "User Name TextBox" ; 60 this .nameTextBox.TabIndex = 1 ; 61 this .nameTextBox.MouseHover += 62 new System.EventHandler( this .controls_MouseHover ); 63 TabIndex property of the control Set AccessibleDiscription properties of all the controls Set AccessibleName properties of all the controls Not visible in the Properties window during design time Loop through each control and update IsAccessible property to true
24. TextToSpeech.cs 64 this .phoneTextBox.AccessibleDescription = 65 "Enter Phone Number" ; 66 this .phoneTextBox.AccessibleName = "Phone Number TextBox" ; 67 this .phoneTextBox.TabIndex = 2 ; 68 this .phoneTextBox.MouseHover += 69 new System.EventHandler( this .controls_MouseHover ); 70 71 this .passwordTextBox.AccessibleDescription = 72 "Enter Password" ; 73 this .passwordTextBox.AccessibleName = "Password TextBox" ; 74 this .passwordTextBox.TabIndex = 3 ; 75 this .passwordTextBox.MouseHover += 76 new System.EventHandler( this .controls_MouseHover ); 77 78 this .submitButton.AccessibleDescription = 79 "Submit the Information" ; 80 this .submitButton.AccessibleName = "Submit Information" ; 81 this .submitButton.TabIndex = 4 ; 82 this .submitButton.Text = "&Submit" ; 83 this .submitButton.Click += 84 new System.EventHandler( this .submitButton_Click ); 85 this .submitButton.MouseHover += 86 new System.EventHandler( this .controls_MouseHover ); 87 88 this .passwordLabel.AccessibleDescription = 89 "Password Label" ; 90 this .passwordLabel.AccessibleName = "Password Label" ; 91 this .passwordLabel.TabIndex = 7 ; 92 this .passwordLabel.MouseHover += 93 new System.EventHandler( this .controls_MouseHover ); 94 &Submit allows special keyboard access
25. TextToSpeech.cs 95 this .speaker.AccessibleDescription = 96 "Give Information about Form" ; 97 this .speaker.AccessibleName = "Speaker" ; 98 this .speaker.TabIndex = 8 ; 99 this .speaker.TabStop = false ; 100 101 this .AccessibleDescription = "Registration Form" ; 102 this .AccessibleName = "Registration Form" ; 103 } 104 105 [STAThread] 106 static void Main() 107 { 108 Application.Run( new TextToSpeech() ); 109 } 110 111 // tell user over which control the mouse is 112 private void controls_MouseHover( 113 object sender, System.EventArgs e ) 114 { 115 // if mouse is over a Label, tell user to enter information 116 if ( sender.GetType() == nameLabel.GetType() ) 117 { 118 Label temporary = ( Label) sender; 119 speaker.Speak( "Please enter your " + temporary.Text + 120 " in the textbox to the right" ); 121 } 122 This method to determine type of control Casts sender to a Label and assign to Label temporary A reference to control that triggered the event Provide string to be converted to speech Determine which type matches the label Method GetType returns instance of class Type
26. TextToSpeech.cs 123 // if mouse is over a TextBox, tell user what 124 // information was entered 125 else if ( sender.GetType() == nameTextBox.GetType() ) 126 { 127 TextBox temporary = ( TextBox ) sender; 128 speaker.Speak( "You have entered " + 129 ( temporary.Text == "" ? "nothing" : 130 temporary.Text ) + " in the " + temporary.Name ); 131 } 132 133 // otherwise, user is over Button, so tell user to click 134 // it to submit the information 135 else 136 speaker.Speak( 137 "Click on this button to submit your information" ); 138 139 } // end method controls_MouseHover 140 141 // thank user for information submission 142 private void submitButton_Click( 143 object sender, System.EventArgs e ) 144 { 145 speaker.Speak( 146 "Thank you, your information has been submitted." ); 147 148 Application.Exit(); 149 } 150 151 } // end class TextToSpeech When the type is neither a Label nor a TexBox Notify the user
31. withheaders.html 1 <?xml version = "1.0" ?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" > 4 5 <!-- Fig. 24.15: withheaders.html --> 6 <!-- Table with headers --> 7 8 <html xmlns = "http://www.w3.org/1999/xhtml" > 9 <head> 10 <title> XHTML Table With Headers </title> 11 12 <style type = "text/css" > 13 body { background-color: #ccffaa ; 14 text-align: center } 15 </style> 16 </head> 17 18 <body> 19 20 <!-- This table uses the id and headers attributes to --> 21 <!-- ensure readability by text-based browsers. It also --> 22 <!-- uses a summary attribute, used by screen readers to --> 23 <!-- describe the table. --> 24 25 <table width = "50%" border = "1" 26 summary = "This table uses th elements and id and 27 headers attributes to make the table readable 28 by screen readers" > 29 30 <caption><strong> Price of Fruit </strong></caption> 31 32 <tr> 33 <th id = "fruit" > Fruit </th> 34 <th id = "price" > Price </th> 35 </tr> Provide summary content for screen reader
37. main.vxml 1 <?xml version = "1.0" ?> 2 <vxml version = "1.0" > 3 4 <!-- Fig. 24.16: main.vxml --> 5 <!-- Voice page --> 6 7 <link next = "#home" > 8 <grammar> home </grammar> 9 </link> 10 11 <link next = "#end" > 12 <grammar> exit </grammar> 13 </link> 14 15 <var name = "currentOption" expr = "'home'" /> 16 17 <form> 18 <block> 19 <emp> Welcome </emp> to the voice page of Deitel and 20 Associates. To exit any time say exit. 21 To go to the home page any time say home. 22 </block> 23 24 <subdialog src = "#home" /> 25 </form> 26 27 <menu id = "home" > 28 <prompt count = "1" timeout = "10s" > 29 You have just entered the Deitel home page. 30 Please make a selection by speaking one of the 31 following options: 32 <break msecs = "1000" /> 33 <enumerate/> 34 </prompt> 35 form element presents information to the user and get data menu element provides the list options and transfer control Create active link to homepage Specifies URL the browser is directed to Element grammar marks the text user must speak to select the link Link to id end when user speak exit block can only exit within form element Signal text should be spoken with emphasis Instruct user to make selection Maintain record of the number of times that a prompt is spoken
38. main.vxml 36 <prompt count = "2" > 37 Please say one of the following. 38 <break msecs = "1000" /> 39 <enumerate/> 40 </prompt> 41 42 <choice next = "#about" > About us </choice> 43 <choice next = "#directions" > Driving directions </choice> 44 <choice next = "publications.vxml" > Publications </choice> 45 </menu> 46 47 <form id = "about" > 48 <block> 49 About Deitel and Associates, Inc. 50 Deitel and Associates, Inc. is an internationally 51 recognized corporate training and publishing 52 organization, specializing in programming languages, 53 Internet and World Wide Web technology and object 54 technology education. Deitel and Associates, Inc. is a 55 member of the World Wide Web Consortium. The company 56 provides courses on Java, C++, Visual Basic, C, Internet 57 and World Wide Web programming and Object Technology. 58 <assign name = "currentOption" expr = "'about'" /> 59 <goto next = "#repeat" /> 60 </block> 61 </form> 62 Prompt remind user to make a selection
39. main.vxml 63 <form id = "directions" > 64 <block> 65 Directions to Deitel and Associates, Inc. 66 We are located on Route 20 in Sudbury, 67 Massachusetts, equidistant from route 68 <sayas class = "digits"> 128 </sayas> and route 69 <sayas class = "digits"> 495 </sayas>. 70 <assign name = "currentOption" expr = "'directions'" /> 71 <goto next = "#repeat" /> 72 </block> 73 </form> 74 75 <form id = "repeat" > 76 <field name = "confirm" type = "boolean" > 77 <prompt> 78 To repeat say yes. To go back to home, say no. 79 </prompt> 80 81 <filled> 82 <if cond = "confirm == true" > 83 <goto expr = "'#' + currentOption" /> 84 <else/> 85 <goto next = "#home" /> 86 </if> 87 </filled> 88 89 </field> 90 </form> 91 92 <form id = "end" > 93 <block> 94 Thank you for visiting Deitel and Associates voice page. 95 Have a nice day. 96 <exit/> 97 </block> 98 </form>
40. main.vxml 99 100 </vxml> 101 <?xml version = "1.0" ?> 101 <?xml version = "1.0" ?> 102 <vxml version = "1.0" > 103 104 <!-- Fig. 24.17: publications.vxml --> 105 <!-- Voice page for various publications --> 106 107 <link next = "main.vxml#home" > 108 <grammar> home </grammar> 109 </link> 110 111 <link next = "main.vxml#end" > 112 <grammar> exit </grammar> 113 </link> 114 115 <link next = "#publication" > 116 <grammar> menu </grammar> 117 </link> 118 119 <var name = "currentOption" expr = "'home'" /> 120 121 <menu id = "publication" > 122 123 <prompt count = "1" timeout = "12s" > 124 Following are some of our publications. For more 125 information visit our web page at www.deitel.com. 126 To repeat the following menu, say menu at any time. 127 Please select by saying one of the following books: 128 <break msecs = "1000" /> 129 <enumerate/> 130 </prompt> 131 Provide links to the menu element which prompt user to select publication Define link elements that provide links to main.vxml
41. main.vxml 132 <prompt count = "2" > 133 Please select from the following books. 134 <break msecs = "1000" /> 135 <enumerate/> 136 </prompt> 137 138 <choice next = "#java" > Java. </choice> 139 <choice next = "#c" > C. </choice> 140 <choice next = "#cplus" > C plus plus. </choice> 141 </menu> 142 143 <form id = "java" > 144 <block> 145 Java How to program, third edition. 146 The complete, authoritative introduction to Java. 147 Java is revolutionizing software development with 148 multimedia-intensive, platform-independent, 149 object-oriented code for conventional, Internet, 150 Intranet and Extranet-based applets and applications. 151 This Third Edition of the world's most widely used 152 university-level Java textbook carefully explains 153 Java's extraordinary capabilities. 154 <assign name = "currentOption" expr = "'java'" /> 155 <goto next = "#repeat" /> 156 </block> 157 </form> 158 Describe the book according to topic
42. main.vxml 159 <form id = "c" > 160 <block> 161 C How to Program, third edition. 162 This is the long-awaited, thorough revision to the 163 world's best-selling introductory C book! The book's 164 powerful "teach by example" approach is based on 165 more than 10,000 lines of live code, thoroughly 166 explained and illustrated with screen captures showing 167 detailed output.World-renowned corporate trainers and 168 best-selling authors Harvey and Paul Deitel offer the 169 most comprehensive, practical introduction to C ever 170 published with hundreds of hands-on exercises, more 171 than 250 complete programs written and documented for 172 easy learning, and exceptional insight into good 173 programming practices, maximizing performance, avoiding 174 errors, debugging, and testing. New features include 175 thorough introductions to C++, Java, and object-oriented 176 programming that build directly on the C skills taught 177 in this book; coverage of graphical user interface 178 development and C library functions; and many new, 179 substantial hands-on projects.For anyone who wants to 180 learn C, improve their existing C skills, and understand 181 how C serves as the foundation for C++, Java, and 182 object-oriented development. 183 <assign name = "currentOption" expr = "'c'" /> 184 <goto next = "#repeat" /> 185 </block> 186 </form> 187
43. main.vxml 188 <form id = "cplus" > 189 <block> 190 The C++ how to program, second edition. 191 With nearly 250,000 sold, Harvey and Paul Deitel's C++ 192 How to Program is the world's best-selling introduction 193 to C++ programming. Now, this classic has been thoroughly 194 updated! The new, full-color Third Edition has been 195 completely revised to reflect the ANSI C++ standard, add 196 powerful new coverage of object analysis and design with 197 UML, and give beginning C++ developers even better live 198 code examples and real-world projects. The Deitels' C++ 199 How to Program is the most comprehensive, practical 200 introduction to C++ ever published with hundreds of 201 hands-on exercises, roughly 250 complete programs written 202 and documented for easy learning, and exceptional insight 203 into good programming practices, maximizing performance, 204 avoiding errors, debugging, and testing. This new Third 205 Edition covers every key concept and technique ANSI C++ 206 developers need to master: control structures, functions, 207 arrays, pointers and strings, classes and data 208 abstraction, operator overloading, inheritance, virtual 209 functions, polymorphism, I/O, templates, exception 210 handling, file processing, data structures, and more. It 211 also includes a detailed introduction to Standard 212 Template Library containers, container adapters, 213 algorithms, and iterators. 214 <assign name = "currentOption" expr = "'cplus'" /> 215 <goto next = "#repeat" /> 216 </block> 217 </form> 218
44. main.vxml 219 <form id = "repeat" > 220 <field name = "confirm" type = "boolean" > 221 222 <prompt> 223 To repeat say yes. Say no, to go back to home. 224 </prompt> 225 226 <filled> 227 <if cond = "confirm == true" > 228 <goto expr = "'#' + currentOption" /> 229 <else/> 230 <goto next = "#publication" /> 231 </if> 232 </filled> 233 </field> 234 </form> 235 </vxml> Prompt the user if they want to repeat
45. main.vxml Program Output Computer speaks: Welcome to the voice page of Deitel and Associates. To exit any time say exit. To go to the home page any time say home. User speaks: Home Computer speaks: You have just entered the Deitel home page. Please make a selection by speaking one of the following options: About us, Driving directions, Publications. User speaks: Driving directions Computer speaks: Directions to Deitel and Associates, Inc. We are located on Route 20 in Sudbury, Massachusetts, equidistant from route 128 and route 495. To repeat say yes. To go back to home, say no.
46. 24.11 Using Voice Synthesizers and Recognition with VoiceXML ™
47.
48. hello.xml Program Output 1 <?xml version = "1.0" encoding = "UTF-8" ?> 2 3 <!-- Fig. 24.19: hello.xml --> 4 <!-- The classic Hello World example --> 5 6 <callxml> 7 <text> Hello World. </text> 8 </callxml> Declare that content is a CallXML document Text to be spoken Logging feature of the Voxeo Account Manager
49. isbn.xml 1 <?xml version = "1.0" encoding = "UTF-8" ?> 2 3 <!-- Fig. 24.20: isbn.xml --> 4 <!-- Reads the ISBN value of three Deitel books --> 5 6 <callxml> 7 <block> 8 <text> 9 Welcome. To obtain the ISBN of the Internet and World 10 Wide Web How to Program: Second Edition, please enter 1. 11 To obtain the ISBN of the XML How to Program, 12 please enter 2. To obtain the ISBN of the Java How 13 to Program: Fourth Edition, please enter 3. To exit the 14 application, please enter 4. 15 </text> 16 17 <!-- Obtains the numeric value entered by the user and --> 18 <!-- stores it in the variable ISBN. The user has 60 --> 19 <!-- seconds to enter one numeric value --> 20 <getDigits var = "ISBN" 21 maxDigits = "1" 22 termDigits = "1234" 23 maxTime = "60s" /> 24 25 <!-- Requests that the user enter a valid numeric --> 26 <!-- value after the elapsed time of 60 seconds --> 27 <onMaxSilence> 28 <text> 29 Please enter either 1, 2, 3 or 4. 30 </text> 31 Encapsulates other CallXML getDigits element obtain user’s touch-tone response Indicate maximum number of digits the application accept Contain list of characters that terminate user input Maximum amount of time allowed Invoked when attribute maxTime or maxSilence expires Ask user to enter a value
50. isbn.xml 32 <getDigits var = "ISBN" 33 termDigits = "1234" 34 maxDigits = "1" 35 maxTime = "60s" /> 36 37 </onMaxSilence> 38 39 <onTermDigit value = "1" > 40 <text> 41 The ISBN for the Internet book is 0130308978. 42 Thank you for calling our CallXML application. 43 Good-bye. 44 </text> 45 </onTermDigit> 46 47 <onTermDigit value = "2" > 48 <text> 49 The ISBN for the XML book is 0130284173. 50 Thank you for calling our CallXML application. 51 Good-bye. 52 </text> 53 </onTermDigit> 54 55 <onTermDigit value = "3" > 56 <text> 57 The ISBN for the Java book is 0130341517. 58 Thank you for calling our CallXML application. 59 Good-bye. 60 </text> 61 </onTermDigit> 62 Event handler notify application of appropriate action to perform
51. isbn.xml Program Output 63 <onTermDigit value = "4" > 64 <text> 65 Thank you for calling our CallXML application. 66 Good-bye. 67 </text> 68 </onTermDigit> 69 </block> 70 71 <!-- Event handler that terminates the call --> 72 <onHangup /> 73 </callxml> Terminate the telephone call when the user hangs up Display the “conversation” between application and user