Zwei neue Technologien für die Cloud sind das JavaScript-Framework Node.js und die NoSQL-Datenbank MongoDB. Johannes Hoppe gibt einen Schnellstart in die beiden Open-Source-Systeme.
This document contains code snippets and technical details from various programming languages and frameworks. It includes examples of database queries, model associations, HTTP requests, pagination, and tracking model changes in Ruby on Rails. Thread-local storage is demonstrated using RequestStore to make request information available across different parts of a Rails application.
This document summarizes the key features and components of the CanJS JavaScript library. It highlights that CanJS is fast, easy to use, and modular. It prevents memory leaks through its templated event system. It supports live data binding through observable objects and lists. Components include Can.Construct for classes, Can.Model for REST APIs, Can.Control for UI components, Can.Route for routing, and Can.View for templating. Overall, CanJS aims to be faster and lighter than comparable frameworks like Backbone, Knockout, and Angular while providing a flexible ecosystem through plugins.
Let's Build A Gutenberg Block | WordCamp Europe 2018Lara Schenck
This document describes registering a new block type in WordPress called "WCEU Block". It defines the block's title, icon, and edit and save functions. The edit function returns a <p> element that will be seen in the editor. The save function returns a <p> element that will be saved to the database. It also includes an example of registering a "Section Block" with attributes for block content and alignment.
Synchronisation de périphériques avec Javascript et PouchDBFrank Rousseau
Talk about device synchronization with Javascript and PouchDB. Real life examples with Cozy.io use cases (file sync).
Performed @ Human Talk Paris (décembe 2014).
This document contains PHP code for a web application that demonstrates the Yahoo! Content Analysis API (CAS). The index.php file defines the overall page structure using frames. The left.php file contains a text input and form to select the CAS method. The form submits to test.php which calls the CAS API, parses the XML response, and displays the results.
This document describes an HTTP endpoint configuration in Apache Synapse. The endpoint defines a GET request to a URI template that extracts variable parameters from the URL for company name, service name, and category. It includes a JSON filter that will evaluate the pizza name and check if it matches the regular expression "Meat Sizzler".
The document provides instructions for deploying and running Odoo. It discusses starting Odoo simply and securely, configuring the addons paths, workers, and ports. It also covers optimizing PostgreSQL, selecting a database, sending emails, logging, sharing the filestore with NFS, sharing code between servers, load balancing requests, and other useful Odoo options.
1. JavaScript can be used to build applications, and some common JavaScript frameworks are YUI, Tbra, and native JavaScript. YUI and Tbra provide more robust functionality while native JavaScript is simpler.
2. When developing with JavaScript, code is usually wrapped in an anonymous function for namespace management and to avoid polluting the global namespace. Scripts and CSS files also often include a cache-busting parameter to ensure the latest versions are loaded.
3. Interacting with DOM elements in JavaScript commonly uses event handling. Libraries like YUI provide cross-browser event handling functions to attach events like click to elements.
This document contains code snippets and technical details from various programming languages and frameworks. It includes examples of database queries, model associations, HTTP requests, pagination, and tracking model changes in Ruby on Rails. Thread-local storage is demonstrated using RequestStore to make request information available across different parts of a Rails application.
This document summarizes the key features and components of the CanJS JavaScript library. It highlights that CanJS is fast, easy to use, and modular. It prevents memory leaks through its templated event system. It supports live data binding through observable objects and lists. Components include Can.Construct for classes, Can.Model for REST APIs, Can.Control for UI components, Can.Route for routing, and Can.View for templating. Overall, CanJS aims to be faster and lighter than comparable frameworks like Backbone, Knockout, and Angular while providing a flexible ecosystem through plugins.
Let's Build A Gutenberg Block | WordCamp Europe 2018Lara Schenck
This document describes registering a new block type in WordPress called "WCEU Block". It defines the block's title, icon, and edit and save functions. The edit function returns a <p> element that will be seen in the editor. The save function returns a <p> element that will be saved to the database. It also includes an example of registering a "Section Block" with attributes for block content and alignment.
Synchronisation de périphériques avec Javascript et PouchDBFrank Rousseau
Talk about device synchronization with Javascript and PouchDB. Real life examples with Cozy.io use cases (file sync).
Performed @ Human Talk Paris (décembe 2014).
This document contains PHP code for a web application that demonstrates the Yahoo! Content Analysis API (CAS). The index.php file defines the overall page structure using frames. The left.php file contains a text input and form to select the CAS method. The form submits to test.php which calls the CAS API, parses the XML response, and displays the results.
This document describes an HTTP endpoint configuration in Apache Synapse. The endpoint defines a GET request to a URI template that extracts variable parameters from the URL for company name, service name, and category. It includes a JSON filter that will evaluate the pizza name and check if it matches the regular expression "Meat Sizzler".
The document provides instructions for deploying and running Odoo. It discusses starting Odoo simply and securely, configuring the addons paths, workers, and ports. It also covers optimizing PostgreSQL, selecting a database, sending emails, logging, sharing the filestore with NFS, sharing code between servers, load balancing requests, and other useful Odoo options.
1. JavaScript can be used to build applications, and some common JavaScript frameworks are YUI, Tbra, and native JavaScript. YUI and Tbra provide more robust functionality while native JavaScript is simpler.
2. When developing with JavaScript, code is usually wrapped in an anonymous function for namespace management and to avoid polluting the global namespace. Scripts and CSS files also often include a cache-busting parameter to ensure the latest versions are loaded.
3. Interacting with DOM elements in JavaScript commonly uses event handling. Libraries like YUI provide cross-browser event handling functions to attach events like click to elements.
The document provides instructions for installing perlbrew and cpanminus on a system. It describes downloading and installing perlbrew to manage multiple perl versions. It also shows how to download and install cpanminus, which is a utility for installing Perl modules from CPAN.
Pemrograman Web 9 - Input Form DB dan SessionNur Fadli Utomo
The document shows code for creating a session in PHP by setting session variables, then accessing and displaying those variables on subsequent pages. It then shows code for destroying the session and clearing all session variables. Additional code implements a login system by querying a database to validate a username and password on login, then starting a session for the user and redirecting to their profile page. Logout functionality destroys the active session.
This document discusses SQL injection and prepared statements. It recommends using prepared statements to protect against SQL injection by separating user-supplied data from SQL queries. However, prepared statements may not provide benefits for queries that are only run once. The document also notes that prepared statements can help secure stored procedures by binding user-supplied data as parameters.
This document provides an overview of asynchronous JavaScript and techniques for handling asynchronous code. It discusses asynchronous functions like setTimeout, XMLHttpRequest, WebSockets and others. Examples are provided to demonstrate asynchronous behavior and the callback hell problem. Solutions to callback hell like async.js and promises are mentioned. Other topics covered include object literals vs constructor functions, the prototype property, private methods in JavaScript using closures, the module pattern, and Object.defineProperty for defining object properties with getters and setters.
The document provides code for embedding a product search bar and recommendations widget on a website. It includes JavaScript code to initialize the search widget and CSS styling code to customize colors and layout. It also includes embedded content like recommendations for making money online and dating services.
The document contains PHP code to connect to a MySQL database, create a database and table, insert sample data, and display the data in an HTML table. It establishes a database connection, checks for errors, creates a database called "test_db" and table called "toko", inserts a sample record, and then displays the table data on an HTML page by connecting to the database and looping through the records.
AngularJS is a JavaScript framework that allows developers to create dynamic web applications. It uses HTML as the template language and extends HTML attributes with directives. AngularJS applications are composed of modules, controllers, services and filters that allow creating single page applications with two-way data binding between models and views.
Introduction to jQuery covers overall introduction and implementation of jQuery, here you can learn jQuery selection, events, animation, and various Built-in methods.
The document discusses TypeScript and AngularJS concepts like classes, interfaces, dependency injection, and RESTful APIs. It provides examples of defining AngularJS controllers and services in TypeScript using classes, interfaces for type safety, and dependency injection. It also shows how to create a RESTful resource class in TypeScript to abstract HTTP requests.
This document discusses context managers and else blocks in Python. It explains how else blocks can be used with for and try statements. Context managers allow code blocks to be executed in a particular context via the with statement. The contextlib module provides utilities for writing context managers, including the @contextmanager decorator. Context managers ensure setup and cleanup code is always executed when entering and exiting a code block.
This document discusses Achilles, an object mapper for Cassandra. It provides a live demo of Achilles' main API for insert, update, remove, and find operations. The document also outlines Achilles' documentation, slice and typed queries, native queries, options, and roadmap including asynchronous support and integration with Elasticsearch.
The document shows code examples for creating HTTP servers and setting up middleware in Node.js using packages like Connect, Express, and Consolidate. It also includes examples of routing and rendering views with Express.
1. The document shows examples of using Node.js to log messages to the console, create an HTTP server that returns "Hello World", export and require functions between files, and create and use object prototypes that inherit from EventEmitters.
2. It also includes examples of a basic Node.js package.json file, connecting to servers and emitting events, and writing partial responses that cannot be modified further in an HTTP response.
3. The examples demonstrate fundamental Node.js concepts like modules and exports, HTTP servers, event emitters, and asynchronous programming.
This document discusses JavascriptMVC, an alternative Javascript MVC framework to BackboneJS. It provides an overview of JavascriptMVC's features such as MIT licensing, clear documentation, and providing an almost total solution for building web applications. Potential pros include the licensing, documentation, and comprehensive features. Potential cons include it being less well known and having fewer online resources than BackboneJS in Taiwan. Examples of how it handles classes, CSS, data loading/validation, and views are also provided.
The BootStrap.groovy file is used to simulate example data when a Grails application starts. It creates sample User and Role domain objects and establishes relationships between them. It also configures email settings and sends startup and shutdown notifications using the mailService.
This document summarizes front-end technologies including KnockoutJS, jQuery, SCSS/Compass, and responsive web design (RWD). It provides an overview of MVVM patterns in KnockoutJS, examples using data binding and observable arrays. It also covers jQuery and jQuery UI, how to import and use them for DOM manipulation and UI widgets. Lastly it discusses using SCSS/Compass for stylesheets and responsive design techniques like Bootstrap grids and the SUSY framework.
This document provides examples of using Groovy for common tasks like copying files, parsing RSS/Atom feeds, running a simple web server, and parsing command line options. It demonstrates how to:
1) Copy files in Groovy using various methods like left-shifting a file into another, reading/writing bytes, or using Ant's copy task.
2) Parse RSS, RDF, and Atom feeds by handling each format's node names and extracting item titles.
3) Run a basic HTTP server on port 8080 that returns a "success" message or serves a template file.
4) Define and parse command line options using a CliBuilder to output parameters and settings.
This PHP script connects to a MySQL database named "cep" and deletes a record from the "matricula" table and "alumnes" table where the "DNI" field equals the "id" variable passed in the URL, then redirects the page to "borraralumnos.php" after deletion.
Quality matters. That’s why we write software tests. They give us confidence to release complex business applications. In a schema-free world they are going to be our escape rope! This talk introduces some Unit Testing principles and separates them from Integration Tests. We will see how other databases solve common problems and how we can archive the same with MongoDB. Of course, you can expect some Test Driven Development (TDD).
The document provides instructions for installing perlbrew and cpanminus on a system. It describes downloading and installing perlbrew to manage multiple perl versions. It also shows how to download and install cpanminus, which is a utility for installing Perl modules from CPAN.
Pemrograman Web 9 - Input Form DB dan SessionNur Fadli Utomo
The document shows code for creating a session in PHP by setting session variables, then accessing and displaying those variables on subsequent pages. It then shows code for destroying the session and clearing all session variables. Additional code implements a login system by querying a database to validate a username and password on login, then starting a session for the user and redirecting to their profile page. Logout functionality destroys the active session.
This document discusses SQL injection and prepared statements. It recommends using prepared statements to protect against SQL injection by separating user-supplied data from SQL queries. However, prepared statements may not provide benefits for queries that are only run once. The document also notes that prepared statements can help secure stored procedures by binding user-supplied data as parameters.
This document provides an overview of asynchronous JavaScript and techniques for handling asynchronous code. It discusses asynchronous functions like setTimeout, XMLHttpRequest, WebSockets and others. Examples are provided to demonstrate asynchronous behavior and the callback hell problem. Solutions to callback hell like async.js and promises are mentioned. Other topics covered include object literals vs constructor functions, the prototype property, private methods in JavaScript using closures, the module pattern, and Object.defineProperty for defining object properties with getters and setters.
The document provides code for embedding a product search bar and recommendations widget on a website. It includes JavaScript code to initialize the search widget and CSS styling code to customize colors and layout. It also includes embedded content like recommendations for making money online and dating services.
The document contains PHP code to connect to a MySQL database, create a database and table, insert sample data, and display the data in an HTML table. It establishes a database connection, checks for errors, creates a database called "test_db" and table called "toko", inserts a sample record, and then displays the table data on an HTML page by connecting to the database and looping through the records.
AngularJS is a JavaScript framework that allows developers to create dynamic web applications. It uses HTML as the template language and extends HTML attributes with directives. AngularJS applications are composed of modules, controllers, services and filters that allow creating single page applications with two-way data binding between models and views.
Introduction to jQuery covers overall introduction and implementation of jQuery, here you can learn jQuery selection, events, animation, and various Built-in methods.
The document discusses TypeScript and AngularJS concepts like classes, interfaces, dependency injection, and RESTful APIs. It provides examples of defining AngularJS controllers and services in TypeScript using classes, interfaces for type safety, and dependency injection. It also shows how to create a RESTful resource class in TypeScript to abstract HTTP requests.
This document discusses context managers and else blocks in Python. It explains how else blocks can be used with for and try statements. Context managers allow code blocks to be executed in a particular context via the with statement. The contextlib module provides utilities for writing context managers, including the @contextmanager decorator. Context managers ensure setup and cleanup code is always executed when entering and exiting a code block.
This document discusses Achilles, an object mapper for Cassandra. It provides a live demo of Achilles' main API for insert, update, remove, and find operations. The document also outlines Achilles' documentation, slice and typed queries, native queries, options, and roadmap including asynchronous support and integration with Elasticsearch.
The document shows code examples for creating HTTP servers and setting up middleware in Node.js using packages like Connect, Express, and Consolidate. It also includes examples of routing and rendering views with Express.
1. The document shows examples of using Node.js to log messages to the console, create an HTTP server that returns "Hello World", export and require functions between files, and create and use object prototypes that inherit from EventEmitters.
2. It also includes examples of a basic Node.js package.json file, connecting to servers and emitting events, and writing partial responses that cannot be modified further in an HTTP response.
3. The examples demonstrate fundamental Node.js concepts like modules and exports, HTTP servers, event emitters, and asynchronous programming.
This document discusses JavascriptMVC, an alternative Javascript MVC framework to BackboneJS. It provides an overview of JavascriptMVC's features such as MIT licensing, clear documentation, and providing an almost total solution for building web applications. Potential pros include the licensing, documentation, and comprehensive features. Potential cons include it being less well known and having fewer online resources than BackboneJS in Taiwan. Examples of how it handles classes, CSS, data loading/validation, and views are also provided.
The BootStrap.groovy file is used to simulate example data when a Grails application starts. It creates sample User and Role domain objects and establishes relationships between them. It also configures email settings and sends startup and shutdown notifications using the mailService.
This document summarizes front-end technologies including KnockoutJS, jQuery, SCSS/Compass, and responsive web design (RWD). It provides an overview of MVVM patterns in KnockoutJS, examples using data binding and observable arrays. It also covers jQuery and jQuery UI, how to import and use them for DOM manipulation and UI widgets. Lastly it discusses using SCSS/Compass for stylesheets and responsive design techniques like Bootstrap grids and the SUSY framework.
This document provides examples of using Groovy for common tasks like copying files, parsing RSS/Atom feeds, running a simple web server, and parsing command line options. It demonstrates how to:
1) Copy files in Groovy using various methods like left-shifting a file into another, reading/writing bytes, or using Ant's copy task.
2) Parse RSS, RDF, and Atom feeds by handling each format's node names and extracting item titles.
3) Run a basic HTTP server on port 8080 that returns a "success" message or serves a template file.
4) Define and parse command line options using a CliBuilder to output parameters and settings.
This PHP script connects to a MySQL database named "cep" and deletes a record from the "matricula" table and "alumnes" table where the "DNI" field equals the "id" variable passed in the URL, then redirects the page to "borraralumnos.php" after deletion.
Quality matters. That’s why we write software tests. They give us confidence to release complex business applications. In a schema-free world they are going to be our escape rope! This talk introduces some Unit Testing principles and separates them from Integration Tests. We will see how other databases solve common problems and how we can archive the same with MongoDB. Of course, you can expect some Test Driven Development (TDD).
This document provides an overview of MongoDB and examples of CRUD operations. It discusses setting up a MongoDB directory and starting the server and shell. It then demonstrates creating, reading, updating, and deleting documents. Examples show inserting single documents and bulk inserting 1000 documents with random scores. Queries are demonstrated using find() with filters. Updates are shown using update() with $set and $push operators. Hands-on exercises are provided to practice CRUD operations on sample datasets.
This document discusses NoSQL databases and provides an overview of MongoDB and RavenDB. It begins with trends driving the adoption of NoSQL databases like increasing data sizes, more connectedness, and individualization. It then covers concepts like horizontal scaling, schema flexibility, and CAP theorem. Specific sections provide information on MongoDB's BSON format, CRUD operations, and MapReduce. For RavenDB, it discusses the developer, deployment, indexing, and HTTP API. It concludes with questions about table to document mapping and key/index strategies.
2012-05-14 NoSQL in .NET - mit Redis und MongoDBJohannes Hoppe
1: Vortrag: NoSQL in .NET – mit Redis und MongoDB
Der Vortrag führt in die Theorie ein, stellt die beiden NoSQL-Datenbanksysteme Redis und MongoDB näher vor und gibt Praxisbeispiele. Ich präsentiere die beiden Systeme live an einem ASP.NET MVC Beispielprojekt, welches allen Teilnehmern zur Verfügung gestellt wird.
2. Vortrag: NoSQL – Dokumente und Relationen
Eine dokumentenbasierte NoSQL-Datenbank wie MongoDB hat nicht nur eine andere API zur Abfrage der Daten. Die tiefergehende Neuerung ist eine grundlegende andere Art die Daten abzuspeichern. Der Vortrag konzentriert sich auf Schema-Design, das Map-Reduce Verfahren und bekannten Patterns für Dokumenten-basierte Datenbanken.
2012-03-20 - Getting started with Node.js and MongoDB on MS AzureJohannes Hoppe
This talk concentrates on Microsoft's cloud platform, called Azure. Johannes gives an introduction to the new platform and speaks about its possibilities and limitations. By utilizing the Windows Azure SDK for Node.js he is going to demonstrate a simple JavaScript-driven browser game that bases on Node.js and MongoDB.
1. The document discusses applying architectural patterns and principles like logging, validation, transactions, and exception handling to business logic code in .NET.
2. It shows an example of refactoring a method that rents a book to a customer to add logging, validate method parameters, retry transactions using a scope, and handle exceptions.
3. By applying these techniques, the business logic is made more robust, maintainable, and aligned with best practices for .NET development.
This document provides an overview of NoSQL and MongoDB. It discusses trends driving the adoption of NoSQL databases like increasing data sizes, more connectedness, and individualization. It covers the different types of NoSQL databases and MongoDB in particular. Key concepts discussed include the CAP theorem, MongoDB's document-oriented data model, and basic CRUD operations in MongoDB using the shell.
The document discusses trends in data, networking, and individualization. It then covers topics around scaling databases including scale-up (vertical scaling) and scale-out (horizontal scaling). It notes that NoSQL databases do not use a relational data model or SQL, instead supporting distributed and horizontal scalability with loose or no schema restrictions and different consistency models. Requirements for distributed systems like consistency, availability, and partition tolerance are discussed in relation to Brewer's CAP theorem from 2000.
Mit HTML5 & JavaScript lassen sich Browser-Games kreieren, die vormals nur mit proprietären Plugins möglich waren. Dazu zählen hardwarebeschleunigte 3D-Grafiken, welche über den WebGL-Standard unterstützt werden. Johannes Hoppe stellt die Tools und Technologien vor, die für die Erstellung von „SolarTournament" verwendet wurden. Allen Teilnehmern wird der Source-Code dieses Multiplayer 3D Action-Shooters sowie eine Auswahl der Arbeitsdateien zur Verfügung gestellt.
This document discusses the AngularJS $http service and how it can be used to make AJAX requests. It shows examples of making GET and POST requests using $http, configuring headers, intercepting requests/responses, caching responses, and using the $resource service to create resources that can be used to interact with RESTful APIs.
The document describes unit tests for a PublicHomePageRedirector class that redirects requests for a course sites application. There are two test scenarios: 1) a request missing the "www" subdomain, and 2) a request from the "coursesites.blackboard.com" domain. Both scenarios create mock request and response objects, pass them to the redirector class, and assert that the response is redirected to the expected "index.html" page. The tests are run from the command line using JUnit through an Ant build script.
The document provides an overview of Node.js and why it is useful for building scalable network programs. It discusses how Node.js uses asynchronous and non-blocking I/O to handle thousands of concurrent connections using a single thread. This allows Node.js applications to scale horizontally by adding more machines. It also covers how the asynchronous programming model requires a different "mind shift" compared to traditional synchronous approaches.
Multi Client Development with Spring - Josh Long jaxconf
This document provides an overview of Spring's support for building multi-client web applications. It discusses Spring's servlet support including the Servlet 3.0 initializer classes. It also covers Spring MVC, building mobile-friendly applications, native Android development with Spring, REST support, and securing applications with Spring Security. The document contains examples of core Spring features like controllers and uses diagrams to illustrate classic Spring MVC architecture. It aims to demonstrate these techniques through examples and code snippets.
Utilizing Powerful Extensions for Analytics and OperationsNeo4j
The document discusses various ways to extend Neo4j's functionality through procedures, functions, and aggregation functions. It provides examples of loading data from external sources like databases and XML using procedures. User-defined procedures, functions, and aggregations allow custom logic to be added and invoked from Cypher. Over 400 procedures and functions are available through the APOC library for tasks like data integration, analytics, and more.
This document provides an introduction to Ajax including:
1) An overview of Ajax and that it allows for asynchronous JavaScript and XML requests.
2) An example of how to make an XMLHttpRequest to get data from a server.
3) A discussion of the same-origin policy and techniques like JSONP that allow requesting data from other domains.
4) Code examples of making JSONP requests by dynamically inserting <script> tags and passing callback functions.
The document discusses reasons why JavaScript does not suck, including that it is the most widely used functional programming language, supports lambda functions, objects, metaprogramming, and duck typing. It provides examples of the module pattern for encapsulation and prototype inheritance for object-oriented programming in JavaScript.
The following illustrates some of the common security challanges Node.js developers are up against. The presentation covers various types of JavaScript-related hacks and NoSQL injection hacking via Express and MongoDB.
The document discusses the beauty of JavaScript and its many features. It covers how JavaScript offers classless object-oriented programming and functional programming. It also discusses how JavaScript can run on both the client-side and server-side. The document provides examples of JavaScript syntax like variables, functions, objects, inheritance through prototypes, and AJAX requests. It emphasizes how libraries help create abstractions and beautiful patterns in JavaScript code.
The document discusses the beauty of JavaScript and its many features. It covers how JavaScript offers classless object-oriented programming and functional programming. It also discusses how JavaScript can run on both the client-side and server-side. The document provides examples of JavaScript syntax like variables, functions, objects, prototypes and more to demonstrate JavaScript's capabilities. It emphasizes that libraries help create abstractions and beautiful patterns in JavaScript code.
This document discusses best practices for JavaScript and CSS coding. It recommends putting JavaScript at the bottom of pages, avoiding inline scripts, combining and minifying scripts, and using unobtrusive event handlers. For CSS, it suggests starting with a base stylesheet and using CSS3 selectors. It also covers JavaScript patterns like namespaces and closures, and font embedding with @font-face.
This document discusses JavaScript promises as an abstraction pattern for handling asynchronous code. It explains why promises are useful by describing some of the issues with callback-based asynchronous code, such as callback hell and lack of readability. The document then provides examples of how to create and use promises to handle sequential and parallel asynchronous tasks in a more maintainable way using chaining and batching. It also discusses how promises are supported in browsers, Node.js, and common promise libraries like Q, RSVP, when.js, and Bluebird.
Finch.io is a library for building REST APIs in Scala using Finagle. It allows for composable endpoints and services. Parameters can be extracted from requests using a reader monad. Requests and responses can be validated. Responses can be JSON, plain text, or other formats. Authentication such as basic auth can also be supported. The documentation provides examples of defining endpoints and services, composing them, handling parameters and validation, and constructing different response types including JSON.
The document discusses AngularJS $http service and promises. It shows how to make GET and POST requests with $http, configure headers, intercept responses, and handle success and error callbacks with promises. It also covers using the $resource service to encapsulate RESTful requests and responses into objects and shows how to inject dependencies into controllers and services.
Selenide - популярная библиотека для написания лаконичных и стабильных UI-тестов на Java. Многие используют её для тестирования веб-приложения, но не все знают, что её также можно использовать и для мобилок.
Рассказ о том, как использовать Selenide для тестирования веба и мобилок и даже переиспользовать код между ними.
There are more smart people building software now than there have been at any point in the past, which means that it's more important than ever to stay on top of new developments, libraries, frameworks, and everything else. To really take advantage of this wealth of innovation, however, you've got to look beyond your normal community -- what's going on in Python? And how can we use that to make our Ruby lives easier? In this session, we'll explore that question. We'll look at actual examples of code and concepts borrowed and reimplemented to form a better idea of when it's appropriate and when it'll fall flat.
Neo4j GraphTour: Utilizing Powerful Extensions for Analytics and OperationsMark Needham
The document discusses various ways to extend Neo4j using procedures, functions, and aggregation functions written in JVM languages. It provides examples of full text search, string joining, and finding the longest string aggregation procedures. The document also discusses how the Apoc procedures library can be used for data integration and loading data from relational databases and XML into Neo4j.
This document provides information on programming with HDInsight including important port numbers, using WebHDFS and WebHCat to interact with HDFS and Hive, running MapReduce jobs with .NET, and using Mahout for machine learning tasks like classification, clustering, and collaborative filtering recommendations.
jQuery Data Manipulate API - A source code dissecting journeyHuiyi Yan
Represent major data manipulate API in jQuery 1.6; such as .data(), removeData(), index(), globalEval() and so no. Also, HTML5 data-* attributes. I will walk you through with diving into jQuery source code and find out the killing techniques used in jQuery.
Letztes Wochenende waren Danny Koppenhagen, Ferdinand Malcher, Gregor Woiwode und ich Teilnehmer des Developer Open Space 2015.
Per Live-Coding mit Pair-Programming haben Gregor und ich einen Schnellstart in das neue Framework gegeben: TypeScript, Komponenten, Dekoratoren, Bindings, Events, Formularverarbeitung und Datenfluss in einer NG2-App. In 45 Minuten stand die erste Single-Page-App. Im Anschluss an die tolle Session möchte ich hier noch einmal alle Infos zusammen tragen.
Die didaktisch aufgebauten Folien findest du hier auf Slideshare, Links, Downloads und das Video findest du auf http://blog.johanneshoppe.de/2015/10/angular2-einfuehrung-schnellstart/.
MDC kompakt 2014: Hybride Apps mit Cordova, AngularJS und IonicJohannes Hoppe
Sehen Sie sich das Video an: http://haushoppe-its.de/videos/mdc-kompakt-2014-hybride-apps-mit-cordova-angularjs-und-ionic/
Dieser Vortrag wurde am 18.11.2014 bei der "MDC - Mobile Developer Conference kompakt 2014" aufgenommen.
Dank Apache Cordova ist es möglich, Ihr bestehendes Wissen zu HTML5, JavaScript und CSS3 auf mobile Apps anzuwenden. Nutzen Sie AngularJS von Google, um Techniken wie MVC und Data Binding in den Browser zu bringen. Erfahren Sie in diesem Vortrag, wie Sie mit dem jüngsten Spross, dem Ionic Framework, ansprechende Oberflächen für iOS, Android und Windows Phone gestalten können. Statt PowerPoint erwartet Sie viel Live Coding. Johannes Hoppe wird zusammen mit Ihnen eine erste hybride Anwendung entwickeln.
Der Map-Reduce Algorithmus begegnet uns bei vielen NoSQL Datenbanken. Wann immer große Datenmengen aggregiert werden, ist er das Mittel der Wahl. In einem Crashkurs wird die Theorie erläutert und gezeigt, wie in Dokumenten bei MongoDB, RavenDB und Hadoop gesucht wird. Mithilfe des MapReduce Modells von Hadoop werden Probleme wie das Durchzählen von Daten, Logfile-Analysen und Graphenanalysen demonstriert. Als Programmiersprache wird C# eingesetzt.
Sie kennen die bekannten Angriffsvektoren wie SQL-Injections oder XSS. Ihre Anwendung ist sicher. Ist Sie das wirklich? Auch wenn Sie in Ihrer Webanwendung kein HTML5 einsetzen, die Browser sind bereit! Kennen Sie alle neuen Markups? Haben Sie bereits die Potentiale von Cross Origin Requests, WebSockets oder Local Storage auf dem Radar? Lernen Sie neue Gefahrenpotentiale kennen, die durch die Unterstützung von HTML5 und dessen APIs entstanden sind. - See more at: http://www.developer-week.de/Programm/Veranstaltung/(event)/11133#sthash.ZRPweawl.dpuf
2013-06-24 - Software Craftsmanship with JavaScriptJohannes Hoppe
This document discusses principles of software craftsmanship including:
- Common JavaScript pitfalls like implied globals, trailing commas, and return undefined
- Best practices like avoiding globals, using module patterns for organization, and test-driven development
- Tools for JavaScript development like Jasmine for testing, RequireJS for module loading, and Visual Studio for debugging
- The process of test-driven development including writing tests, making them fail, making them pass, refactoring code, and repeating
2013-06-15 - Software Craftsmanship mit JavaScriptJohannes Hoppe
Entwickeln Sie Clean Code mit JavaScript. Den “Software Craftsman” zeichnen dabei Wissen, Werkzeuge und Wiederholung aus. Diese drei Grundfeste werden speziell für JavaScript beleuchtet. Lernen Sie die wichtigsten Patterns für eine stabile und wartbare Website kennen. Überprüfen Sie Ihre persönliche Werkzeugkiste für Entwicklung, Testing und Deployment. Schließen Sie Bekanntschaft mit Code Katas für JavaScript.
INTERAKTIVE SLIDES:
http://johanneshoppe.github.com/HTML5Security/
Sie kennen die bekannten Angriffsvektoren wie SQL-Injections oder XSS. Ihre Anwendung ist sicher. Ist Sie das wirklich? Auch wenn Sie in Ihrer Webanwendung kein HTML5 einsetzen, die Browser sind bereit! Kennen Sie alle neuen Markups? Haben Sie bereits die Potentiale von Cross Origin Requests, WebSockets oder Local Storage auf dem Radar? Lernen Sie neue Gefahrenpotentiale kennen, die durch die Unterstützung von HTML5 und dessen APIs entstanden sind.
This document discusses different data modeling techniques for MongoDB including embedding documents, linking documents by ID, and handling many-to-many relationships. It provides code examples of saving documents, querying, and updating in MongoDB. It also briefly covers software testing strategies for MongoDB applications.
2013-02-21 - .NET UG Rhein-Neckar: JavaScript Best PracticesJohannes Hoppe
The document provides JavaScript best practices focusing on code quality, avoiding antipatterns like implied globals and eval, and recommendations for style like indentation and naming conventions. It also discusses testing with Jasmine including writing tests, making them pass, refactoring code, and repeating the test-driven development process. Modular code organization techniques like revealing module pattern and event publishing are also covered.
2011-06-27 - AOP - .NET User Group Rhein NeckarJohannes Hoppe
The document provides an introduction to aspect-oriented programming with .NET. It discusses various cross-cutting concerns like logging, exceptions, validation, and caching that can be addressed using aspect-oriented programming. It also demonstrates how aspects are used to modify the intermediate language (IL) code to inject cross-cutting behavior before, after, and around method calls. Various aspect oriented programming frameworks for .NET are also mentioned.
DMDW 8. Student Presentation - Groovy to MongoDBJohannes Hoppe
The document outlines an ETL project to extract data from an Excel room-plan file, transform it into a new structure and data types, and load it into a database. It discusses exporting the CSV file from Excel and issues with encoding and delimiter. It then describes using a Groovy script to parse the file and handle inconsistent data. Finally, it notes putting the objects into the database and addressing problems around data conversion and structure.
DMDW 5. Student Presentation - Pentaho Data Integration (Kettle)Johannes Hoppe
This document discusses data warehousing and data mining. It describes a typical data warehouse architecture including data consolidation, security, modeling, and querying requirements. It outlines the extract, transform, load (ETL) process for moving raw data into the warehouse. Specific tools used are MySQL, MySQL Workbench, and Pentaho Data Integration. The steps taken include verifying source Excel data, preparing the database structure in MySQL, and performing the extract, transform, and load of data using Pentaho.
DMDW 7. Student Presentation - Pentaho Data Integration (Kettle)Johannes Hoppe
ETL involves extracting data from outside sources, transforming it to fit operational needs, and loading it into an end target database. The document discusses extracting Excel data which can contain errors like null entries, spelling mistakes, and duplicates. It describes normalizing the data to decompose relations and define relationships between smaller, well-structured tables. Various ETL tools are mentioned, including Pentaho Data Integration, an open source and user-friendly tool that supports extraction, transformation, and loading capabilities.
DMDW 9. Student Presentation - Java to MySQLJohannes Hoppe
This document provides an introduction to an exercise on Extract, Transform, Load (ETL) processes. It was presented by Stefan Böttler, Daniel Henn and Philipp Grundmann for the course Data Mining & Data Warehouse taught by lecturer Dipl.-Inf. (FH) Johannes Hoppe. The document outlines the ETL process of extract, transform, load and lists the software requirements of Java, MySQL, XAMPP and HeidiSQL.
DMDW 11. Student Presentation - JAVA to MongoDBJohannes Hoppe
The document describes an ETL tool created in Java to extract data from an Excel file and load it into a MongoDB database. The tool uses the Morphia ORM mapper to map Excel data to Java objects and then to documents in MongoDB for storage. The tool was built using Java 1.6 and runs on any machine with a JVM, extracting from Excel files and transforming and loading the data into MongoDB in a non-SQL document format.
The document discusses integrating an Excel spreadsheet into a Microsoft Access database. It describes the tools used, including Microsoft Access 2007, 2010, and Excel 2007 and 2010. Some common problems that can occur during import are discussed, such as missing column headings, empty spaces, and formatting errors with dates and times. Solutions for resolving these problems, such as manual corrections and using Access 2010 features, are provided. A live demonstration of the integration process is also included.
Climate Impact of Software Testing at Nordic Testing DaysKari Kakkonen
My slides at Nordic Testing Days 6.6.2024
Climate impact / sustainability of software testing discussed on the talk. ICT and testing must carry their part of global responsibility to help with the climat warming. We can minimize the carbon footprint but we can also have a carbon handprint, a positive impact on the climate. Quality characteristics can be added with sustainability, and then measured continuously. Test environments can be used less, and in smaller scale and on demand. Test techniques can be used in optimizing or minimizing number of tests. Test automation can be used to speed up testing.
Maruthi Prithivirajan, Head of ASEAN & IN Solution Architecture, Neo4j
Get an inside look at the latest Neo4j innovations that enable relationship-driven intelligence at scale. Learn more about the newest cloud integrations and product enhancements that make Neo4j an essential choice for developers building apps with interconnected data and generative AI.
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIVladimir Iglovikov, Ph.D.
Presented by Vladimir Iglovikov:
- https://www.linkedin.com/in/iglovikov/
- https://x.com/viglovikov
- https://www.instagram.com/ternaus/
This presentation delves into the journey of Albumentations.ai, a highly successful open-source library for data augmentation.
Created out of a necessity for superior performance in Kaggle competitions, Albumentations has grown to become a widely used tool among data scientists and machine learning practitioners.
This case study covers various aspects, including:
People: The contributors and community that have supported Albumentations.
Metrics: The success indicators such as downloads, daily active users, GitHub stars, and financial contributions.
Challenges: The hurdles in monetizing open-source projects and measuring user engagement.
Development Practices: Best practices for creating, maintaining, and scaling open-source libraries, including code hygiene, CI/CD, and fast iteration.
Community Building: Strategies for making adoption easy, iterating quickly, and fostering a vibrant, engaged community.
Marketing: Both online and offline marketing tactics, focusing on real, impactful interactions and collaborations.
Mental Health: Maintaining balance and not feeling pressured by user demands.
Key insights include the importance of automation, making the adoption process seamless, and leveraging offline interactions for marketing. The presentation also emphasizes the need for continuous small improvements and building a friendly, inclusive community that contributes to the project's growth.
Vladimir Iglovikov brings his extensive experience as a Kaggle Grandmaster, ex-Staff ML Engineer at Lyft, sharing valuable lessons and practical advice for anyone looking to enhance the adoption of their open-source projects.
Explore more about Albumentations and join the community at:
GitHub: https://github.com/albumentations-team/albumentations
Website: https://albumentations.ai/
LinkedIn: https://www.linkedin.com/company/100504475
Twitter: https://x.com/albumentations
Unlocking Productivity: Leveraging the Potential of Copilot in Microsoft 365, a presentation by Christoforos Vlachos, Senior Solutions Manager – Modern Workplace, Uni Systems
Dr. Sean Tan, Head of Data Science, Changi Airport Group
Discover how Changi Airport Group (CAG) leverages graph technologies and generative AI to revolutionize their search capabilities. This session delves into the unique search needs of CAG’s diverse passengers and customers, showcasing how graph data structures enhance the accuracy and relevance of AI-generated search results, mitigating the risk of “hallucinations” and improving the overall customer journey.
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slackshyamraj55
Discover the seamless integration of RPA (Robotic Process Automation), COMPOSER, and APM with AWS IDP enhanced with Slack notifications. Explore how these technologies converge to streamline workflows, optimize performance, and ensure secure access, all while leveraging the power of AWS IDP and real-time communication via Slack notifications.
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionAggregage
Join Maher Hanafi, VP of Engineering at Betterworks, in this new session where he'll share a practical framework to transform Gen AI prototypes into impactful products! He'll delve into the complexities of data collection and management, model selection and optimization, and ensuring security, scalability, and responsible use.
Building RAG with self-deployed Milvus vector database and Snowpark Container...Zilliz
This talk will give hands-on advice on building RAG applications with an open-source Milvus database deployed as a docker container. We will also introduce the integration of Milvus with Snowpark Container Services.
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.
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.
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
A tale of scale & speed: How the US Navy is enabling software delivery from l...sonjaschweigert1
Rapid and secure feature delivery is a goal across every application team and every branch of the DoD. The Navy’s DevSecOps platform, Party Barge, has achieved:
- Reduction in onboarding time from 5 weeks to 1 day
- Improved developer experience and productivity through actionable findings and reduction of false positives
- Maintenance of superior security standards and inherent policy enforcement with Authorization to Operate (ATO)
Development teams can ship efficiently and ensure applications are cyber ready for Navy Authorizing Officials (AOs). In this webinar, Sigma Defense and Anchore will give attendees a look behind the scenes and demo secure pipeline automation and security artifacts that speed up application ATO and time to production.
We will cover:
- How to remove silos in DevSecOps
- How to build efficient development pipeline roles and component templates
- How to deliver security artifacts that matter for ATO’s (SBOMs, vulnerability reports, and policy evidence)
- How to streamline operations with automated policy checks on container images
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!SOFTTECHHUB
As the digital landscape continually evolves, operating systems play a critical role in shaping user experiences and productivity. The launch of Nitrux Linux 3.5.0 marks a significant milestone, offering a robust alternative to traditional systems such as Windows 11. This article delves into the essence of Nitrux Linux 3.5.0, exploring its unique features, advantages, and how it stands as a compelling choice for both casual users and tech enthusiasts.
In his public lecture, Christian Timmerer provides insights into the fascinating history of video streaming, starting from its humble beginnings before YouTube to the groundbreaking technologies that now dominate platforms like Netflix and ORF ON. Timmerer also presents provocative contributions of his own that have significantly influenced the industry. He concludes by looking at future challenges and invites the audience to join in a discussion.