The document discusses dynamically generating view objects (VOs) and their definitions in Oracle Application Development Framework (ADF). It describes retrieving an entity definition, creating a VO definition by extending the ViewDefImpl class and setting properties. If a VO does not exist, the definition is used to create a new VO instance. Attribute definitions are added by retrieving attributes from the entity definition.
This document provides an introduction to jQuery, including examples of how to use jQuery. It discusses jQuery plugins, performance tips for jQuery, and jQuery deferreds/promises. Some key points:
- jQuery is a JavaScript library that allows DOM manipulation and event handling via JavaScript
- jQuery code uses $ as an alias for jQuery functions
- Plugins can extend jQuery's functionality
- For performance, cache selections, append outside loops, detach/reattach elements being modified
- Deferreds/promises allow asynchronous functions to be chained together
Software development is riddled with explicit and implicit costs. Every decision you make has a cost attached to it. When you're writing code, you're making an investment, the size of which will for a long time define the costs of your future growth. Making right decision about these investments is very tricky and the cost of wrong decisions might be crippling for both business and teams that support it.
Extreme Programming and Test Driven Development in particular are practices that are aiming at supporting development effort by making it easier to introduce change. That said, sometimes those tools can become a problem of its own when applied in the wrong way or for the wrong context. Understanding software cost forces is a very important skill of successful teams and something that helps understand how to apply XP and TDD in different contexts.
This document discusses JavaScript unit testing with Jasmine. It provides an overview of Jasmine's syntax including describes, contexts, matches, spies and stubs. It also discusses tools that can be used with Jasmine like jasmine-jquery for DOM testing and jasmine-given for behavior-driven development style tests.
Workshop JavaScript Testing. Frameworks. Client vs Server Testing. Jasmine. Chai. Nock. Sinon. Spec Runners: Karma. TDD. Code coverage. Building a testable JS app.
Presentado por ing: Raúl Delgado y Mario García
Node.js has given JavaScript a new resurgence as a server-side language. No longer just for image rollovers and AJAX, JS is now available as a platform for creating lightning-fast, lightweight, networked applications. In this session, we will move beyond Node’s base web servers and Twitter applications, and into module development: those small, reusable components that are the foundation for every business application on every platform. Learn how to create a module within Node.js, how to test your module and validate functionality, and how to get your creation distributed into the wild. With this knowledge, you can make the next great Node package and become famous.
This document summarizes a presentation on establishing a baseline for front-end developers. It discusses that front-end developers should have a solid understanding of JavaScript without jQuery, prototypal inheritance, Function.bind, and basic knowledge of frameworks like Backbone, Ember and CanJS. It also emphasizes the importance of skills with Git/GitHub, modular code and builds, developer tools, the command line, templates, CSS and testing.
How do you create applications with an incredible level of extendability without losing readability in the process? What if there's a way to separate concerns not only on the code, but on the service definition level? This talk will explore structural and behavioural patterns and ways to enrich them through tricks of powerful dependency injection containers such as Symfony2 DIC component.
An Introduction to the World of Testing for Front-End Developers
Presented at Web Unleashed 2017. More info at www.fitc.ca/webu
Presented by Haris Mahmood, Shopify
Overview
As front-end developers become more and more capable of building web applications, the value of testing front-end code is now more valuable than ever. Unfortunately, the testing ecosystem can be confusing, and daunting to those just getting started with the vast number of libraries and testing frameworks offering various tools and capabilities.
This talk aims to navigate the world of testing front-end code, and provide steps for front-end developers to incorporate testing into their work and projects quickly and with ease!
Objective
Provide an introduction and overview of the world of testing for front-end development, and tips and steps to get started today.
Target Audience
Front-end developers with no or little experience with testing.
Five Things Audience Members Will Learn
Understanding on why testing is important
What options exist for testing today
What type of tests are best for what scenario
How to assess what frameworks and libraries to use
Steps on getting started with testing
FITC Web Unleashed 2017 - Introduction to the World of Testing for Front-End ...
The document provides an introduction to testing for front-end developers. It discusses why testing is important, common test types like unit, integration and functional tests, popular testing frameworks like Jest and Mocha, and how to set up a basic testing environment and write tests using Jest. It also covers test concepts like assertions, spies and stubs. An example movie app is used to demonstrate setting up Jest and writing tests to validate functions.
The document discusses craftsmanship in software development. It provides examples of Wozniak's meticulous and perfectionist approach to engineering when designing Apple hardware and software. It also discusses different stages of craftsmanship like apprentice, journeyman, and master, and how these relate to becoming better at software development through continually learning, building, and improving skills. The emphasis is on cultivating high standards of quality and care in one's work.
The document discusses the importance of unit testing and describes how developers are returning to write good tests after cutting corners during economic difficulties. It provides examples of unit tests being written for an order management system using PHPUnit to test the createOrder method by mocking dependencies and asserting the return value.
The document discusses Drupal's #states functionality for dynamically showing and hiding form elements based on user interactions. It describes the anatomy of state definitions, how dependencies between elements are defined, targeting elements using CSS selectors, built-in state names like visible and checked, and how to define custom triggers for state changes beyond default DOM events.
The document contains code for unit testing a PHP MVC application using PHPUnit. It includes:
- Code for the Todo model and its tests using PHPUnit assertions.
- Configuration for PHPUnit to run tests for the application and library.
- Tests for the IndexController using a Test_ControllerTestCase class with helper methods.
- Code for Request, Response and View classes to mock the MVC framework.
- A test to interact with the application interface using Selenium.
The document shows the project structure for an MVC application and library with tests. It demonstrates how to test models, controllers and the user interface using test doubles, assertions and helper methods in PHPUnit.
This is the support of a course to teach mainly Redux, and Redux with React for Java and C# programmers. It is the third part of the course to recycle programmers from desktop app programming to web app programming. This course covers from history of Redux, its origin, step by step what is a reducer, and later concepts like reducer splitting, action handling, async and many more.
You also can use repositories:
- https://github.com/drpicox/learn-redux-bytesting
- https://github.com/drpicox/learn-redux-zoo-bytesting
To improve your skills.
The document discusses refactoring legacy PHP code, specifically dealing with code that has no separation between PHP and HTML. It recommends separating code into controllers and views by gathering all code, separating controller and view code, assigning variables to a view object, changing variable references in the view code, and splitting the files. Specific problems in legacy PHP code like no separation of concerns, global variables, and reliance on includes can be addressed through techniques like creating view classes, encapsulating logic in objects, and wrapping includes in functions to untangle dependency webs. The goal is to safely change code implementation without changing behavior through refactoring.
The document discusses ES6 patterns used in Redux code. It explains how Redux uses functional programming patterns like higher-order functions, pure functions, and immutable data structures. Specifically, it analyzes code from Redux that uses arrow functions, rest/spread syntax, and avoids mutations to create middleware and handle state updates immutably. Reading wild code helps improve the skill of code comprehension and builds intuition about how to apply new patterns.
Built on top of the MVC-based JavaServer Faces framework, Oracle Application Development Framework (ADF) forms the foundation for WebCenter Portal's components and services. ADF is an innovative, yet mature Java EE development framework available from Oracle, and, unlike most other frameworks, is directly supported and enabled by the award winning development environment, Oracle JDeveloper 11g.
ADF provides unified access to back-end technologies like databases, web services, XML, CSV, BPEL, and many more. Furthermore, ADF provides data binding to connect UI with back-end data controls.Out of the box, ADF provides more than 100 data aware, JSF view components. The fine-grained JAAS security model gives developers and administrators full control over all aspects of application security.
This document provides an overview of the key components of Cloud Foundry, including:
- The Cloud Controller which manages application deployments, services, user roles, and more.
- Buildpacks which stage and compile applications to create droplets run by DEAs on VMs.
- DEAs which manage application container lifecycles using Warden containers for isolation.
- Routers which route traffic to applications and maintain dynamic routing tables.
- Services which provide interfaces to both native and 3rd party services running on Service Nodes.
- UAA which handles user authentication, authorization, and manages OAuth access credentials.
It also describes how organizations and spaces segment the platform and how domains
Cloudfoundry is the open platform as a service providing a faster and easier way to build, test, deploy and scale applications.Deploy & Scale in seconds on your choice of clouds.
This presentation covers both the Cloud Foundry Elastic Runtime (known by many as just "Cloud Foundry") as well as the Operations Manager (known by many as BOSH). For each, the main components are covered with interactions between them.
JavaFX 8 est disponible depuis mars 2014 et apporte son lot de nouveautés. Gradle est en version 2 depuis juillet 2014. Deux technologies plus que prometteuses: JavaFX donne un coup de jeune au développement d’applications desktop en Java en apportant un navigateur web intégré, le support des WebSockets, de la 3D, et bien d’autres. Gradle est l’outil de d’automatisation de build à la mode, apportant de superbes possibilités par rapport rapport à maven, outil vieillissant, grâce à l’engouement de la communauté vis à vis de cet outil mais aussi par le fait de la technologie utilisée en son sein: groovy. Venez découvrir comment il est possible de réaliser rapidement une application à la mode en JavaFX avec un outil à la mode également. Bref venez à une session trendy.
The document discusses integrating ReactJS and Webpack into Ruby on Rails applications. It covers using modules with CommonJS, RequireJS, and ECMAScript 6. It also discusses using Webpack for bundling assets, setting up entry points, loaders, and plugins. Webpack can be configured to work with Rails by defining webpack.config.js and using the assets:webpack task for deployment. This provides a modular approach for JavaScript development while still leveraging Rails.
The document discusses how JavaScript frameworks like MooTools can be leveraged in Joomla sites to provide features like DOM manipulation, classes, event listeners, and effects. It describes how MooTools is the default framework used by Joomla and provides examples of its key capabilities. Additionally, it offers suggestions for optimizing framework usage, such as implementing the Google Loader API to decrease page load times.
This document summarizes jQuery secrets presented by Bastian Feder. It discusses utilities like jQuery.data() and jQuery.removeData() for saving and removing state on DOM elements. It also covers AJAX settings, events, extending jQuery, and jQuery plugins. The presentation provides code examples for working with data, events, namespaces, AJAX, and extending jQuery functionality.
This document discusses creating and customizing jQuery plugins. It begins with an overview and agenda, then covers topics like common jQuery plugins, rules for developing plugins, how to create a basic plugin, customizing existing plugins, and debugging JavaScript/jQuery issues. The document provides code examples for each topic and emphasizes naming conventions, default options, the plugin constructor, and animations.
This document contains source code for a college student management system created in Java. It includes the source code for the home page class, which defines the main GUI containing buttons to add, delete, search for, and update student details. It also displays source code for other classes like the search page class, which allows the user to search for a student by ID and displays the results in a table. The project aims to simplify tasks like adding, editing, and deleting student information over time.
The document provides an overview of the qooxdoo framework and toolkit. It demonstrates how to download and explore the qooxdoo SDK which contains over 15,000 files. Code examples are provided to illustrate defining a class with properties, mixins, inheritance and interfaces. Additional features highlighted include extensive documentation, GUI components, easy key/command binding, layouts for positioning elements, and REST call capabilities.
WordPress allows plugins and themes to modify its core functionality through hooks called actions and filters. Actions allow plugins to specify functions that are executed at certain points, like before or after specific events. Filters allow functions to modify content, like text, before it is saved or output. The document discusses how a basic widget can be modified to use actions and filters to allow other code to add puppy images and warnings. This allows expanding the widget's capabilities without directly editing its code.
Refactoring, Agile Entwicklung, Continuous Integration – all diese für nachhaltigen Erfolg wichtigen Vorgehensweisen setzen Erfahrung mit Unit Testing voraus. Abseits von den üblichen "Bowling"-Beispielen möchten wir gerne einen Crashkurs inkl. Best Practices für das erfolgreiche Unit Testing durchführen. Anhand eines Beispielprojekts auf Basis des Zend Frameworks werden wir nach der Installation von PHPUnit auf allen Notebooks gemeinsam eine kleine Applikation aufbauen, die durchgehend Test-driven entwickelt wird.
20-Arid-850 Ali Haider Cheema BSSE(5A) Evening MPL Assignement 08.docx
The document describes a Java program that creates a graphical user interface (GUI) calculator application. It defines variables to store numeric values and operations, initializes GUI components like buttons and text fields, and includes event handler methods for each button that perform number entry, arithmetic operations, and result display when the equals button is pressed. The main method creates an instance of the calculator class and makes it visible, launching the application.
This document discusses JavaScript and how it is used on over 92% of websites. It covers JavaScript fundamentals like variable scope, hoisting, and the this keyword. It also discusses how JavaScript allows first-class functions and functional programming. The document then covers how to properly manage scripts in WordPress using functions like wp_register_script, wp_enqueue_script, and wp_localize_script to internationalize scripts. It concludes by mentioning additional JavaScript topics to explore like closures and functional programming.
This document provides an overview of Joomla components. It discusses PHP and object-oriented programming concepts like classes, objects and the MVC pattern. It then explains how to create a basic "Hello World" Joomla component with 5 required files - a controller, view files and an XML installation file. The document is intended to introduce developers to creating Joomla components.
Improving android experience for both users and developers
Android UI and User Experience has changed dramatically in the recent version(s) and while users generally enjoy the new features, there are still several areas that are left to application-level-DIY-patterns. For developers, this is double challenge, they want to provide users with the bleeding edge UI patterns and at the same time, they have to deal with evolving API, that sometimes changes dramatically.
Presentation covers the gotchas developer might face dealing with ever-moving Android API, and how to utilize Java language and the tools it have to make the experience for developer more pleasant. Typical trends in the API will get analyzed and divided into several areas or "patterns", discussing typical scenarios how these components are designed and implemented.
This talk will propose several such UI patterns, that will compete to become "de facto" standards and details on the implementation, including possible impact on existing API as we have both end users and developers in mind.
The list of patterns/areas discussed in the talk include following :
ActionBar
ListView
TimePicker
KineticGestureComponent
The document discusses opportunities to improve the Android user experience through more flexible and responsive layouts, improved action bar designs, and innovative input methods like gesture and sensor-based interactions. It presents examples of custom view groups and adapters that provide flexible resizing and binding of data to views. The talk argues the action bar could be improved through more consistent behavior and use of available screen space. Ideas for new date/time pickers and gesture-based interactions are also proposed to enhance the Android experience.
jQuery & 10,000 Global Functions: Working with Legacy JavaScript
Long ago, in the late days of the first Internet boom, before jQuery, before Underscore, before Angular, there was a web application built by a large corporation. This application was written as a server-side application using server-side technology like Java or PHP. A tiny seed of JavaScript was added to some of the pages of this application to give it a little sizzle.
Over the ages, this tiny bit of JavaScript grew like kudzu. Most of it was embedded in the HTML in
international PHP2011_Bastian Feder_jQuery's Secrets
This document contains a summary of jQuery secrets presented by Bastian Feder. It discusses various techniques including saving and removing state from DOM elements using jQuery.data() and jQuery.removeData(), extending jQuery functionality through plugins, and customizing AJAX requests and event handling. The presentation provides code examples for working with jQuery's data storage methods, namespaces, promises/deferreds, global AJAX settings, and extending jQuery.
This document provides an overview of key Android development concepts and techniques. It discusses fragments, the support library, dependency injection, image caching, threading and AsyncTask, notifications, supporting multiple screens, and optimizing ListView performance. The document also recommends several popular Android libraries and open source apps that demonstrate best practices.
Avoid misery of working with legacy code
We will see how you can add independent and isolated components to existing pages; pages that may be difficult to change
React and Flux allow you to make self-contained additions that handle their own data access/persistence
Jenkins User Conference 2012
Only by the third plugin do you get the hang of writing a plugin. I thought as a developer coming to the build side of things it'd be easy to jump in and write some plugins. I was wrong. Don't be fooled by the extremely friendly Jenkins community, writing a plugin from scratch is harder than they let on. This talk will explain the hurdles that I had to cross to make writing plugins easy.
eROSE is a tool that guides programmers in Eclipse by recommending related changes based on mining associations from a software project's history. It predicts 33% of changed entities and 70% of transactions contain a changed entity within the top three recommendations. Precision averages 0.29 while recall averages 0.33 for entities and 0.44 for files. eROSE's recommendations improve over time with more data and feedback from users. It will be extended in upcoming releases to integrate annotations for risk awareness and management.
The document provides an overview of JavaScript, including that it is used to make web pages interactive, runs in browsers, and supports built-in. It discusses the DOM, common events, using the console, variables, operators, comments, conditionals, loops, arrays, objects, type checking, functions, events, timers, accessing and manipulating DOM elements, working with CSS/classes, and AJAX requests.
The document discusses the evolution of the author's views on JavaScript and front-end frameworks. It begins by expressing dislike for JavaScript but acknowledging the need for it. Various frameworks like Backbone, Angular, and Ember are explored but found lacking. React is then introduced and praised for its declarative and composable approach similar to HTML. The author comes to understand JSX and how React implements unidirectional data flow to separate the UI from data logic. This allows building full-stack applications with React handling both client and server rendering based on shared intentions, state, and data flow patterns.
This document provides an introduction to jQuery, including examples of how to use jQuery. It discusses jQuery plugins, performance tips for jQuery, and jQuery deferreds/promises. Some key points:
- jQuery is a JavaScript library that allows DOM manipulation and event handling via JavaScript
- jQuery code uses $ as an alias for jQuery functions
- Plugins can extend jQuery's functionality
- For performance, cache selections, append outside loops, detach/reattach elements being modified
- Deferreds/promises allow asynchronous functions to be chained together
Software development is riddled with explicit and implicit costs. Every decision you make has a cost attached to it. When you're writing code, you're making an investment, the size of which will for a long time define the costs of your future growth. Making right decision about these investments is very tricky and the cost of wrong decisions might be crippling for both business and teams that support it.
Extreme Programming and Test Driven Development in particular are practices that are aiming at supporting development effort by making it easier to introduce change. That said, sometimes those tools can become a problem of its own when applied in the wrong way or for the wrong context. Understanding software cost forces is a very important skill of successful teams and something that helps understand how to apply XP and TDD in different contexts.
This document discusses JavaScript unit testing with Jasmine. It provides an overview of Jasmine's syntax including describes, contexts, matches, spies and stubs. It also discusses tools that can be used with Jasmine like jasmine-jquery for DOM testing and jasmine-given for behavior-driven development style tests.
Workshop JavaScript Testing. Frameworks. Client vs Server Testing. Jasmine. Chai. Nock. Sinon. Spec Runners: Karma. TDD. Code coverage. Building a testable JS app.
Presentado por ing: Raúl Delgado y Mario García
Node.js has given JavaScript a new resurgence as a server-side language. No longer just for image rollovers and AJAX, JS is now available as a platform for creating lightning-fast, lightweight, networked applications. In this session, we will move beyond Node’s base web servers and Twitter applications, and into module development: those small, reusable components that are the foundation for every business application on every platform. Learn how to create a module within Node.js, how to test your module and validate functionality, and how to get your creation distributed into the wild. With this knowledge, you can make the next great Node package and become famous.
This document summarizes a presentation on establishing a baseline for front-end developers. It discusses that front-end developers should have a solid understanding of JavaScript without jQuery, prototypal inheritance, Function.bind, and basic knowledge of frameworks like Backbone, Ember and CanJS. It also emphasizes the importance of skills with Git/GitHub, modular code and builds, developer tools, the command line, templates, CSS and testing.
How do you create applications with an incredible level of extendability without losing readability in the process? What if there's a way to separate concerns not only on the code, but on the service definition level? This talk will explore structural and behavioural patterns and ways to enrich them through tricks of powerful dependency injection containers such as Symfony2 DIC component.
An Introduction to the World of Testing for Front-End DevelopersFITC
Presented at Web Unleashed 2017. More info at www.fitc.ca/webu
Presented by Haris Mahmood, Shopify
Overview
As front-end developers become more and more capable of building web applications, the value of testing front-end code is now more valuable than ever. Unfortunately, the testing ecosystem can be confusing, and daunting to those just getting started with the vast number of libraries and testing frameworks offering various tools and capabilities.
This talk aims to navigate the world of testing front-end code, and provide steps for front-end developers to incorporate testing into their work and projects quickly and with ease!
Objective
Provide an introduction and overview of the world of testing for front-end development, and tips and steps to get started today.
Target Audience
Front-end developers with no or little experience with testing.
Five Things Audience Members Will Learn
Understanding on why testing is important
What options exist for testing today
What type of tests are best for what scenario
How to assess what frameworks and libraries to use
Steps on getting started with testing
FITC Web Unleashed 2017 - Introduction to the World of Testing for Front-End ...Haris Mahmood
The document provides an introduction to testing for front-end developers. It discusses why testing is important, common test types like unit, integration and functional tests, popular testing frameworks like Jest and Mocha, and how to set up a basic testing environment and write tests using Jest. It also covers test concepts like assertions, spies and stubs. An example movie app is used to demonstrate setting up Jest and writing tests to validate functions.
The document discusses craftsmanship in software development. It provides examples of Wozniak's meticulous and perfectionist approach to engineering when designing Apple hardware and software. It also discusses different stages of craftsmanship like apprentice, journeyman, and master, and how these relate to becoming better at software development through continually learning, building, and improving skills. The emphasis is on cultivating high standards of quality and care in one's work.
The document discusses the importance of unit testing and describes how developers are returning to write good tests after cutting corners during economic difficulties. It provides examples of unit tests being written for an order management system using PHPUnit to test the createOrder method by mocking dependencies and asserting the return value.
The document discusses Drupal's #states functionality for dynamically showing and hiding form elements based on user interactions. It describes the anatomy of state definitions, how dependencies between elements are defined, targeting elements using CSS selectors, built-in state names like visible and checked, and how to define custom triggers for state changes beyond default DOM events.
The document contains code for unit testing a PHP MVC application using PHPUnit. It includes:
- Code for the Todo model and its tests using PHPUnit assertions.
- Configuration for PHPUnit to run tests for the application and library.
- Tests for the IndexController using a Test_ControllerTestCase class with helper methods.
- Code for Request, Response and View classes to mock the MVC framework.
- A test to interact with the application interface using Selenium.
The document shows the project structure for an MVC application and library with tests. It demonstrates how to test models, controllers and the user interface using test doubles, assertions and helper methods in PHPUnit.
This is the support of a course to teach mainly Redux, and Redux with React for Java and C# programmers. It is the third part of the course to recycle programmers from desktop app programming to web app programming. This course covers from history of Redux, its origin, step by step what is a reducer, and later concepts like reducer splitting, action handling, async and many more.
You also can use repositories:
- https://github.com/drpicox/learn-redux-bytesting
- https://github.com/drpicox/learn-redux-zoo-bytesting
To improve your skills.
The document discusses refactoring legacy PHP code, specifically dealing with code that has no separation between PHP and HTML. It recommends separating code into controllers and views by gathering all code, separating controller and view code, assigning variables to a view object, changing variable references in the view code, and splitting the files. Specific problems in legacy PHP code like no separation of concerns, global variables, and reliance on includes can be addressed through techniques like creating view classes, encapsulating logic in objects, and wrapping includes in functions to untangle dependency webs. The goal is to safely change code implementation without changing behavior through refactoring.
The document discusses ES6 patterns used in Redux code. It explains how Redux uses functional programming patterns like higher-order functions, pure functions, and immutable data structures. Specifically, it analyzes code from Redux that uses arrow functions, rest/spread syntax, and avoids mutations to create middleware and handle state updates immutably. Reading wild code helps improve the skill of code comprehension and builds intuition about how to apply new patterns.
Built on top of the MVC-based JavaServer Faces framework, Oracle Application Development Framework (ADF) forms the foundation for WebCenter Portal's components and services. ADF is an innovative, yet mature Java EE development framework available from Oracle, and, unlike most other frameworks, is directly supported and enabled by the award winning development environment, Oracle JDeveloper 11g.
ADF provides unified access to back-end technologies like databases, web services, XML, CSV, BPEL, and many more. Furthermore, ADF provides data binding to connect UI with back-end data controls.Out of the box, ADF provides more than 100 data aware, JSF view components. The fine-grained JAAS security model gives developers and administrators full control over all aspects of application security.
Cloud foundry architecture and deep diveAnimesh Singh
This document provides an overview of the key components of Cloud Foundry, including:
- The Cloud Controller which manages application deployments, services, user roles, and more.
- Buildpacks which stage and compile applications to create droplets run by DEAs on VMs.
- DEAs which manage application container lifecycles using Warden containers for isolation.
- Routers which route traffic to applications and maintain dynamic routing tables.
- Services which provide interfaces to both native and 3rd party services running on Service Nodes.
- UAA which handles user authentication, authorization, and manages OAuth access credentials.
It also describes how organizations and spaces segment the platform and how domains
Cloudfoundry is the open platform as a service providing a faster and easier way to build, test, deploy and scale applications.Deploy & Scale in seconds on your choice of clouds.
This presentation covers both the Cloud Foundry Elastic Runtime (known by many as just "Cloud Foundry") as well as the Operations Manager (known by many as BOSH). For each, the main components are covered with interactions between them.
JavaFX 8 est disponible depuis mars 2014 et apporte son lot de nouveautés. Gradle est en version 2 depuis juillet 2014. Deux technologies plus que prometteuses: JavaFX donne un coup de jeune au développement d’applications desktop en Java en apportant un navigateur web intégré, le support des WebSockets, de la 3D, et bien d’autres. Gradle est l’outil de d’automatisation de build à la mode, apportant de superbes possibilités par rapport rapport à maven, outil vieillissant, grâce à l’engouement de la communauté vis à vis de cet outil mais aussi par le fait de la technologie utilisée en son sein: groovy. Venez découvrir comment il est possible de réaliser rapidement une application à la mode en JavaFX avec un outil à la mode également. Bref venez à une session trendy.
The document discusses integrating ReactJS and Webpack into Ruby on Rails applications. It covers using modules with CommonJS, RequireJS, and ECMAScript 6. It also discusses using Webpack for bundling assets, setting up entry points, loaders, and plugins. Webpack can be configured to work with Rails by defining webpack.config.js and using the assets:webpack task for deployment. This provides a modular approach for JavaScript development while still leveraging Rails.
The document discusses how JavaScript frameworks like MooTools can be leveraged in Joomla sites to provide features like DOM manipulation, classes, event listeners, and effects. It describes how MooTools is the default framework used by Joomla and provides examples of its key capabilities. Additionally, it offers suggestions for optimizing framework usage, such as implementing the Google Loader API to decrease page load times.
This document summarizes jQuery secrets presented by Bastian Feder. It discusses utilities like jQuery.data() and jQuery.removeData() for saving and removing state on DOM elements. It also covers AJAX settings, events, extending jQuery, and jQuery plugins. The presentation provides code examples for working with data, events, namespaces, AJAX, and extending jQuery functionality.
This document discusses creating and customizing jQuery plugins. It begins with an overview and agenda, then covers topics like common jQuery plugins, rules for developing plugins, how to create a basic plugin, customizing existing plugins, and debugging JavaScript/jQuery issues. The document provides code examples for each topic and emphasizes naming conventions, default options, the plugin constructor, and animations.
This document contains source code for a college student management system created in Java. It includes the source code for the home page class, which defines the main GUI containing buttons to add, delete, search for, and update student details. It also displays source code for other classes like the search page class, which allows the user to search for a student by ID and displays the results in a table. The project aims to simplify tasks like adding, editing, and deleting student information over time.
The document provides an overview of the qooxdoo framework and toolkit. It demonstrates how to download and explore the qooxdoo SDK which contains over 15,000 files. Code examples are provided to illustrate defining a class with properties, mixins, inheritance and interfaces. Additional features highlighted include extensive documentation, GUI components, easy key/command binding, layouts for positioning elements, and REST call capabilities.
WordPress allows plugins and themes to modify its core functionality through hooks called actions and filters. Actions allow plugins to specify functions that are executed at certain points, like before or after specific events. Filters allow functions to modify content, like text, before it is saved or output. The document discusses how a basic widget can be modified to use actions and filters to allow other code to add puppy images and warnings. This allows expanding the widget's capabilities without directly editing its code.
Refactoring, Agile Entwicklung, Continuous Integration – all diese für nachhaltigen Erfolg wichtigen Vorgehensweisen setzen Erfahrung mit Unit Testing voraus. Abseits von den üblichen "Bowling"-Beispielen möchten wir gerne einen Crashkurs inkl. Best Practices für das erfolgreiche Unit Testing durchführen. Anhand eines Beispielprojekts auf Basis des Zend Frameworks werden wir nach der Installation von PHPUnit auf allen Notebooks gemeinsam eine kleine Applikation aufbauen, die durchgehend Test-driven entwickelt wird.
20-Arid-850 Ali Haider Cheema BSSE(5A) Evening MPL Assignement 08.docxAliHaiderCheema2
The document describes a Java program that creates a graphical user interface (GUI) calculator application. It defines variables to store numeric values and operations, initializes GUI components like buttons and text fields, and includes event handler methods for each button that perform number entry, arithmetic operations, and result display when the equals button is pressed. The main method creates an instance of the calculator class and makes it visible, launching the application.
Avinash Kundaliya: Javascript and WordPresswpnepal
This document discusses JavaScript and how it is used on over 92% of websites. It covers JavaScript fundamentals like variable scope, hoisting, and the this keyword. It also discusses how JavaScript allows first-class functions and functional programming. The document then covers how to properly manage scripts in WordPress using functions like wp_register_script, wp_enqueue_script, and wp_localize_script to internationalize scripts. It concludes by mentioning additional JavaScript topics to explore like closures and functional programming.
This document provides an overview of Joomla components. It discusses PHP and object-oriented programming concepts like classes, objects and the MVC pattern. It then explains how to create a basic "Hello World" Joomla component with 5 required files - a controller, view files and an XML installation file. The document is intended to introduce developers to creating Joomla components.
Improving android experience for both users and developersPavel Lahoda
Android UI and User Experience has changed dramatically in the recent version(s) and while users generally enjoy the new features, there are still several areas that are left to application-level-DIY-patterns. For developers, this is double challenge, they want to provide users with the bleeding edge UI patterns and at the same time, they have to deal with evolving API, that sometimes changes dramatically.
Presentation covers the gotchas developer might face dealing with ever-moving Android API, and how to utilize Java language and the tools it have to make the experience for developer more pleasant. Typical trends in the API will get analyzed and divided into several areas or "patterns", discussing typical scenarios how these components are designed and implemented.
This talk will propose several such UI patterns, that will compete to become "de facto" standards and details on the implementation, including possible impact on existing API as we have both end users and developers in mind.
The list of patterns/areas discussed in the talk include following :
ActionBar
ListView
TimePicker
KineticGestureComponent
The document discusses opportunities to improve the Android user experience through more flexible and responsive layouts, improved action bar designs, and innovative input methods like gesture and sensor-based interactions. It presents examples of custom view groups and adapters that provide flexible resizing and binding of data to views. The talk argues the action bar could be improved through more consistent behavior and use of available screen space. Ideas for new date/time pickers and gesture-based interactions are also proposed to enhance the Android experience.
jQuery & 10,000 Global Functions: Working with Legacy JavaScriptGuy Royse
Long ago, in the late days of the first Internet boom, before jQuery, before Underscore, before Angular, there was a web application built by a large corporation. This application was written as a server-side application using server-side technology like Java or PHP. A tiny seed of JavaScript was added to some of the pages of this application to give it a little sizzle.
Over the ages, this tiny bit of JavaScript grew like kudzu. Most of it was embedded in the HTML in
This document contains a summary of jQuery secrets presented by Bastian Feder. It discusses various techniques including saving and removing state from DOM elements using jQuery.data() and jQuery.removeData(), extending jQuery functionality through plugins, and customizing AJAX requests and event handling. The presentation provides code examples for working with jQuery's data storage methods, namespaces, promises/deferreds, global AJAX settings, and extending jQuery.
This document provides an overview of key Android development concepts and techniques. It discusses fragments, the support library, dependency injection, image caching, threading and AsyncTask, notifications, supporting multiple screens, and optimizing ListView performance. The document also recommends several popular Android libraries and open source apps that demonstrate best practices.
Adding a modern twist to legacy web applicationsJeff Durta
Avoid misery of working with legacy code
We will see how you can add independent and isolated components to existing pages; pages that may be difficult to change
React and Flux allow you to make self-contained additions that handle their own data access/persistence
Jenkins User Conference 2012
Only by the third plugin do you get the hang of writing a plugin. I thought as a developer coming to the build side of things it'd be easy to jump in and write some plugins. I was wrong. Don't be fooled by the extremely friendly Jenkins community, writing a plugin from scratch is harder than they let on. This talk will explain the hurdles that I had to cross to make writing plugins easy.
Destyney Duhon personal brand explorationminxxmaree
Destyney Duhon embodies a singular blend of creativity, resilience, and purpose that defines modern entrepreneurial spirit. As a visionary at the intersection of artistry and innovation, Destyney fearlessly navigates uncharted waters, sculpting her journey with a profound commitment to authenticity and impact.This Brand exploration power point is a great example of her dedication to her craft.
Risks & Business Risks Reduce - investment.pdfHome
In this presentation, I have shown major risks that are to face in a business investment. Also I have shown their classification and sources.
This information have taken from my text book -" Investment Analysis and Portfolio Management ~chapter 2 Investment~ " For complete this Presentation I used Figma and Canva.
My Role:
a. Student Final year - Accounting
b. Presentation Designer
stackconf 2024 | On-Prem is the new Black by AJ JesterNETWAYS
In a world where Cloud gives us the ease and flexibility to deploy and scale your apps we often overlook security and control. The fact that resources in the cloud are still shared, the hardware is shared, the network is shared, there is not much insight into the infrastructure unless the logs are exposed by the cloud provider. Even an air gap environment in the cloud is truly not air gapped, it’s a pseudo-private network. Moreover, the general trend in the industry is shifting towards cloud repatriation, it’s a fancy term for bringing your apps and services from cloud back to on-prem, like old school how things were run before the cloud was even a thing. This shift has caused what I call a knowledge gap where engineers are only familiar with interacting with infrastructure via APIs but not the hardware or networks their application runs on. In this talk I aim to demystify on-prem environments and more importantly show engineers how easy and smooth it is to repatriate data from cloud to an on-prem air gap environment.
stackconf 2024 | Buzzing across the eBPF Landscape and into the Hive by Bill ...NETWAYS
The buzz around the Linux kernel technology eBPF is growing quickly and it can be hard to know where to start or how to keep up with this technology that is reshaping our infrastructure stack. In this talk, Bill will trace how he got into eBPF, explore some of the applications leveraging eBPF today, and teach others how to dive into the hive of activity around eBPF. People just beginning with eBPF will learn how eBPF makes it possible to have efficient networking, observability without instrumentation, effortless tracing, and real-time security (among other things) without needing your own kernel team. Those already familiar with eBPF will get an overview of the eBPF landscape and learn about many new and expanding eBPF applications that allow them to harness the power without needing to dive into the bytecode. The audience will walk away with an understanding of the buzz around eBPF and knowledge of new tools that may solve some of their problems in networking, observability, and security.
stackconf 2024 | Using European Open Source to build a Sovereign Multi-Cloud ...NETWAYS
The European Commission has clearly identified open source as a strategic tool for bringing some balance to an EU cloud market currently dominated by a handful of non-EU hyperscalers. Part of that commitment comes through a series of ambitious, multi-million EU projects like the SIMPL platform for Data Spaces and the multi-country “Important Project of Common European Interest on Next Generation Cloud Infrastructure and Services” (IPCEI-CIS). For the first time in the history of the European Union, it is the EU industry who will be leading large-scale open source projects aimed at building European strategic technologies. In this talk we will explain in detail how specific European open source technologies are being brought together as part of some of those projects to start building Sovereign Multi-Cloud solutions that ensure interoperability and digital sovereignty for European users while preventing vendor lock-in in the cloud market, opening up competition in the emerging 5G/edge.
A study on drug utilization evaluation of bronchodilators using DDD methodDr. Afreen Nasir
The abstract was published as a conference proceeding in a Newsletter after being presented as an e-posture and secured 2nd prize during the scientific proceedings of "National Conference on Health Economics and Outcomes Research (HEOR) to Enhance Decision Making for Global Health" held at Raghavendra Institute of Pharmaceutical Education and Research (RIPER)- Autonomous in association with the International Society for Pharmacoeconomics and Outcomes Research (ISPOR)-India Andhra Pradesh Regional Chapter during 4th& 5th August 2023.
Nasir A. A study on drug utilization evaluation of bronchodilators using the DDD method. RIPER - PDIC Bulletin ISPOR India Andhra Pradesh Regional Chapter Newsletter [Internet]. 2023 Sep;11(51):14. Available from: www.riper.ac.in
Call India AmanTel allows you to call from any country in the world including India to the USA and Canada at the cheapest rate Limited offers new users some free minutes.
11. Eugene
Fedorenko
adfprac0ce-‐fedor.blogspot.com
Ø Generate VO’s name
Ø Try to find the VO
Ø Create View Definition
Ø Create VO instance for the View Definition
public
ViewObject
createDynamicVO(String
agileEn0tyName)
{
//Generate
VO
name
for
the
given
en0ty
name
just
by
adding
VAGILE_
prefix
//The
name
for
"DIVERS"
agile
en0ty
is
generated
as
"VAGILE_DIVERS”.
JboNameU0l
class
can
be
used
String
agileVOName
=
getAgileVOName(agileEn0tyName);
ViewObject
agileVO
=
findViewObject(agileVOName);
if
(agileVO
==
null)
{
ViewDefImpl
agileViewDef
=
new
VAgileDefImpl(agileVOName,
getAgileEn0tyDefini0on(agileEn0tyName));
agileVO
=
createViewObjectForDef(agileVOName,
agileViewDef);
}
return
agileVO;
}
Dynamic
View
Object
11
12. Eugene
Fedorenko
adfprac0ce-‐fedor.blogspot.com
Ø Extend VAgile view definition
Ø Set row implementation class
Ø Create entity definition
Ø Resolve and register definition object
public
class
VAgileDefImpl
extends
ViewDefImpl
{
public
VAgileDefImpl(String
name,
VAgileEn0tyDefini0onRowImpl
agileEn0tyDefini0on)
{
super(DEF_SCOPE_SESSION,
name,
"com.cs.blog.deepdiveadf.agiledatamodel.views.VAgile");
setRowClass(VAgileRowImpl.class);
String
en0tyName
=
generateAgileEn0tyName(name);
//VAGILE_DIVERS
-‐>
VAGILE_DIVERS_ENTITY
En0tyDefImpl
en0tyDefImpl
=
new
En0tyAgileDefImpl(en0tyName,
agileEn0tyDefini0on);
addEn0tyUsage("En0ty",
en0tyDefImpl.getName(),
false,
false);
addAllEn0tyABributes("En0ty");
//Two
magic
calls
resolveDefObject();
registerDefObject();
}
Dynamic
View
DefiniOon
12
13. Eugene
Fedorenko
adfprac0ce-‐fedor.blogspot.com
Ø Set implementation class of entity instances
Ø Add agile attributes
Ø Resolve and register the definition object
public
class
En0tyAgileDefImpl
extends
En0tyDefImpl
{
public
En0tyAgileDefImpl(String
en0tyName,
VAgileEn0tyDefini0onRowImpl
agileEn0tyDefini0on)
{
super(en0tyName);
setRowClass(En0tyAgileImpl.class);
RowIterator
agileABributes
=
agileEn0tyDefini0on.getAgileABributes();
while
(agileABributes.hasNext())
{
addAgileABribute((VAgileABributesRowImpl)
agileABributes.next());
}
//Two
magic
calls
resolveDefObject();
registerDefObject();
}
Dynamic
EnOty
DefiniOon
13
15. Eugene
Fedorenko
adfprac0ce-‐fedor.blogspot.com
Ø There is a set of pre-defined validators
Ø JboLengthValidator, JboCompareValidator, JboExpressionValidator, …
Ø Extend JboAbstractValidator
Ø Invoke a constructor and specify the error message
public
sta0c
JboLengthValidator
getLengthValidator(int
maxLength)
{
JboLengthValidator
jlv
=
new
JboLengthValidator(/*inverse*/
false,
/*operType*/
JboLengthValidator.LESSTHANEQUALTO,
/*dataType*/
JboLengthValidator.CHARACTER,
/*value*/
maxLength);
//maxlength_err=Value
must
not
be
longer
than
{0}
characters
jlv.setErrorMsgId(MAX_LENGTH_ERROR);
HashMap
errvaluesMap
=
new
HashMap();
errvaluesMap.put("0",
Integer.toString(maxLength));
jlv.setErrorMsgExpressions(errvaluesMap);
return
jlv;
}
Length
Validator
Example
15
16. Eugene
Fedorenko
adfprac0ce-‐fedor.blogspot.com
Ø Create Resource Bundle Definition
Ø Implement ResourceBundleDef interface
Ø Link entity definition to the resource bundle
<ResourceBundle>
<Proper0esBundle
Proper0esFile="com.cs.blog.En0tyAgileBundle"/>
</ResourceBundle>
public
class
En0tyAgileDefImpl
extends
En0tyDefImpl
{
private
sta0c
String
RESOURCE_BUNDLE_FILE="com.cs.blog.En0tyAgileBundle";
private
void
linkToResourceBundle()
{
Proper0esBundleDef
rb
=
new
Proper0esBundleDef(this);
rb.setProper0esFile(RESOURCE_BUNDLE_FILE);
setResourceBundleDef(rb);
}
Link
to
the
Resource
Bundle
16
17. Eugene
Fedorenko
adfprac0ce-‐fedor.blogspot.com
ü Custom View Definition for an entity-based VO is created and registered
ü Custom Entity Definition is created and registered
ü Contains all necessary attributes
ü UI hints are set up
ü Validators are created
ü Resource Bundle is linked
ü View Object instance is created
ü Only standard ADF BC API is used
Check
Point
17
18. Eugene
Fedorenko
adfprac0ce-‐fedor.blogspot.com
Ø Dynamic table
Ø Dynamic binding approach
Ø EL expression in Binds attribute
Ø #{pageFlowScope.vo} != #{pageFlowScope.vo.name}
<executables>
<iterator
Binds="#{pageFlowScope.vo.name}"
DataControl="AgileDataModelServiceDataControl“
RangeSize="25"
id="VAgileIterator"/>
</executables>
<dynamic:table
value="#{bindings.VAgileIterator}"
id="t1"/>
Give
It
a
Try!
18
22. Eugene
Fedorenko
adfprac0ce-‐fedor.blogspot.com
public VAgileImpl
q Constructor
protected void executeQueryForCollection
q Retrieve and store a pointer to data from alternative data source
protected boolean hasNextForCollection
q Whether there is any data to fetch out
protected ViewRowImpl createRowFromResultSet
q Actually create and populate new VO’s row
public long getQueryHitCount
q Return an estimated count of the rows
protected void releaseUserDataForCollection
q Release and close resources
ProgrammaOcally
Populated
View
Object
22
27. Eugene
Fedorenko
adfprac0ce-‐fedor.blogspot.com
Ø Create and register lookup View Definition
Ø Create and add View Accessor
Ø Create and add List Binding Definition
Ø Set the LOV for the attribute
Dynamic
List
of
Values
27
28. Eugene
Fedorenko
adfprac0ce-‐fedor.blogspot.com
Ø Create and register lookup View Definition
Ø Create and add View Accessor
Ø Create and add List Binding Definition
Ø Set the LOV for the attribute
ViewDefImpl
vaViewDef
=
new
ViewDefImpl();
vaViewDef.setQuery(lookupSql);
vaViewDef.setFullSql(true)
String
lookupViewDefName
=
generateName(viewName,
aBr.getName());
vaViewDef.setName(lookupViewDefName);
vaViewDef.setFullName(lookupViewDefName);
vaViewDef.addViewABribute(lookupValueABrName,
lookupValueABrName,
Object.class);
vaViewDef.addViewABribute(lookupDisplayABrName,
lookupDisplayABrName,
Object.class);
((ABributeDefImpl)
vaViewDef.getABributeDef(0)).setPrimaryKey(true);
vaViewDef.resolveDefObject();
vaViewDef.registerDefObject();
Dynamic
List
of
Values
28
29. Eugene
Fedorenko
adfprac0ce-‐fedor.blogspot.com
Ø Create and register lookup View Definition
Ø Create and add View Accessor
Ø Create and add List Binding Definition
Ø Set the LOV for the attribute
ViewAccessorDef
vaccessdef
=
new
ViewAccessorDef();
vaccessdef.setName(lookupViewDefName);
vaccessdef.setViewDefFullName(lookupViewDefName);
addViewAccessorDef(vaccessdef);
Dynamic
List
of
Values
29
30. Eugene
Fedorenko
adfprac0ce-‐fedor.blogspot.com
Ø Create and register lookup View Definition
Ø Create and add View Accessor
Ø Create and add List Binding Definition
Ø Set the LOV for the attribute
ListBindingDef
lov
=
new
ListBindingDef(getDefManager(),
Defini0onObject.DEF_SCOPE_SESSION);
String
LOVName
=
generateLOVName(aBr.getName());
lov.setName(LOVName);
lov.setListVOName(viewAccessorDefName);
lov.setABrNames(new
String[]
{aBr.getName()});
lov.setListABrNames(new
String[]
{lookupValueABrName});
lov.setListDisplayABrNames(new
String[]
{lookupValueABrName,
lookupDisplayABrName});
addListBindingDef(lov);
((ABributeDefImpl)
aBr).setLOVName(LOVName);
((ABributeDefImpl)
aBr).setProperty(ABributeHints.ATTRIBUTE_CTL_TYPE,
ABributeHints.CTLTYPE_COMBOLOV);
Dynamic
List
of
Values
30
53. Eugene
Fedorenko
adfprac0ce-‐fedor.blogspot.com
Ø Create
View
Criteria
and
set
name
Ø Create
View
Criteria
Row
Ø Create
View
Criteria
Item
for
the
first
aBribute
Ø Set
where
clause
as
value
Ø Set
CRITERIA_MODE_CACHE
to
ensure
memory
filtering
Ø Add
View
Criteria
to
View
Defini0on
ViewCriteriaImpl
viewCriteria
=
(ViewCriteriaImpl)
createViewCriteria();
viewCriteria.setName(userFilter.getName());
ViewCriteriaRow
vcr
=
viewCriteria.createViewCriteriaRow();
String
firstABributeName
=
getABributeDef(0).getName();
ViewCriteriaItem
vci
=
new
ViewCriteriaItem(firstABributeName,
vcr);
vci.setValue(userFilter.getWhereclause());
vcr.addCriteriaItem(firstABributeName,
vci);
viewCriteria.add(vcr);
viewCriteria.setCriteriaMode(ViewCriteria.CRITERIA_MODE_CACHE);
putViewCriteria(viewCriteria.getName(),
viewCriteria);
Dynamic
View
Criteria
53
54. Eugene
Fedorenko
adfprac0ce-‐fedor.blogspot.com
<BC4JDataControl
id="AgileDataModelServiceDataControl"
Package="com.cs.blog.deepdiveadf.agiledatamodel"
FactoryClass="com.cs.blog.deepdiveadf.agiledatamodel.datacontrol.AgileDataControlFactory”
…
public
class
AgileDataControlFactory
extends
DataControlFactoryImpl
{
@Override
protected
String
getDataControlClassName()
{
return
AgileDataControl.class.getName();
}
}
public
class
AgileDataControl
extends
JUApplica0on
{
@Override
protected
void
applySortCriteria(DCIteratorBinding
iter,
SortCriteria[]
sortBy)
{
if
(sortBy
!=
null)
{
ViewObject
vo
=
iter.getViewObject();
JboEnvUOl.applyVOSortCriteria(vo,
sortBy,
true
/*Transient*/)
;
}
}
Memory
SorOng
54
55. Eugene
Fedorenko
adfprac0ce-‐fedor.blogspot.com
Ø Set
VO
property
PROP_ALWAYS_USE_SORT
to
true
Ø Sor0ng
is
always
performed
in
memory
public
class
VAgileImpl
extends
ViewObjectImpl
…
@Override
protected
void
create()
{
super.create()
setProperty(PROP_ALWAYS_USE_SORT,
"true");
}
…
Memory
SorOng
(11.1.1.7.0
&
12c)
55