Parse is a suite of cloud based APIs, services and libraries that focus on letting developers build out rich applications and less time dealing with the overhead of setting up and managing databases, push notifications, social sign on, analytics, and even hosting and servers.
In this series I'll overview the options around developing an application that leverages Parse, including using Cloud Code to deploy your Node.js app to Parse's own hosting service.
The document describes the Spring MVC request lifecycle and how requests are handled in Spring MVC. It discusses how the DispatcherServlet receives requests and uses handler mappings to determine which controller should handle each request. It then describes how controllers process requests, returning a ModelAndView which is used to render the view. It also provides details on configuring controllers, view resolvers, and handler mappings, as well as examples of different types of controllers like command, form, and multi-action controllers.
The document outlines the evolution of web technologies over time including HTML5 specifications, modern web APIs, and browser capabilities. It notes that an incremental approach to evolving HTML standards worked better than trying to switch everyone to XML at once. The document also references comments about using the full Safari engine to build apps for iPhone and how the term "HTML5" is commonly used as a buzzword for modern web technologies.
Mixpanel is the most advanced analytics platform for mobile & web. Instead of measuring pageviews, it helps you analyze the actions people take in your application. An action can be anything - someone uploading a picture, playing a video, or sharing a post, for example
The document discusses Django user authentication and social authentication. It covers Django's built-in authentication system including views, forms, permissions and groups. It also discusses Python Social Auth for social authentication with Django, including concepts of authentication, association and disconnection. Finally, it provides steps to implement Facebook login, including creating a Facebook app, installing Python Social Auth, configuring settings, adding URLs and updating templates.
We'll take a look at setting up Shopware PWA, as well as how to create a plugin that fetches product recommendations. All without touching the Shopware Backend.
Find more of the right users with Google ads: best practices for Gaming
The focus of the presentation is Google App Campaigns. You will learn about Google Automation and Machine Learning and how to effectively use this machine powers. We present some trends / benchmarks in the industry and how these impact and imply to your UA strategy, share best practices on campaigns’ optimization and creatives advices.
Talk given at DevTeach Montreal on RxJS - The Basics & The Future.
Example repo: https://github.com/ladyleet/rxjs-test
Have questions? Find me on twitter http://twitter.com/ladyleet
Les Hazlewood, Stormpath co-founder and CTO and the Apache Shiro PMC Chair demonstrates how to design a beautiful REST + JSON API. Includes the principles of RESTful design, how REST differs from XML, tips for increasing adoption of your API, and security concerns.
Presentation video: https://www.youtube.com/watch?v=5WXYw4J4QOU
More info: http://www.stormpath.com/blog/designing-rest-json-apis
Further reading: http://www.stormpath.com/blog
Sign up for Stormpath: https://api.stormpath.com/register
Stormpath is a user management and authentication service for developers. By offloading user management and authentication to Stormpath, developers can bring applications to market faster, reduce development costs, and protect their users. Easy and secure, the flexible cloud service can manage millions of users with a scalable pricing model.
Dynamic Components using Single-Page-Application Concepts in AEM/CQ
This document summarizes a presentation on developing dynamic components in AEM using single-page application concepts. It discusses how traditional approaches to dynamic components can be tricky when components need to communicate and update frequently. An SPA approach treats each component as a module that handles its own data fetching and updating independently via AJAX calls. On page load, the server returns only static markup and components get dynamic data by making POST requests to a controller returning JSON. This allows for perceived faster interactions and easier front-end/back-end separation compared to full page reloads. Examples demonstrate rendering templates, initialization scripts, and a sample controller class to retrieve and return dynamic component data.
Introduction to GraphQL (or How I Learned to Stop Worrying about REST APIs)
Talk for FOSSASIA 2016 (http://2016.fossasia.org)
----
This talk will give a brief and enlightening look into how GraphQL can help you address common weaknesses that you, as a web / mobile developer, would normally face with using / building typical REST API systems.
Let's stop fighting about whether we should implement the strictest interpretation of REST or how pragmatic REST-ful design is the only way to go, or debate about what REST is or what it should be.
A couple of demos (In Golang! Yay!) will be shown that are guaranteed to open up your eyes and see that the dawn of liberation for product developers is finally here.
Background: GraphQL is a data query language and runtime designed and used at Facebook to request and deliver data to mobile and web apps since 2012.
Hafiz Ismail (@sogko) is a contributor to Go / Golang implementation of GraphQL server library (https://github.com/graphql-go/graphql) and is looking to encourage fellow developers to join in the collaborative effort.
The document discusses 15 patterns for cloud native applications that extend beyond the 12 factor app methodology. These additional patterns cover areas like API design, dependency management, configuration, logging, concurrency, and security. The patterns are presented as ways to further improve portability, scalability and operational efficiency of applications running in the cloud.
Sling Models Using Sightly and JSP by Deepak Khetawat
This document discusses using Sling Models with Sightly and JSP templates in AEM. It provides an overview of Sling Models, including their purpose, design goals, and key annotations. It also describes the standard injectors available in Sling Models and how to create custom injectors. The document outlines how to add Sling Model dependencies and use Sling Models within JSP and Sightly templates, including code examples. It concludes with a demonstration of Sling Models in action and information for appendix materials and questions.
Sencha Roadshow 2017: Build Progressive Web Apps with Ext JS and Cmd
Learn how to use Ext JS and Cmd to deliver Progressive Web Applications to deliver the best of both web and mobile app experiences. Web apps can be found easily on the internet and every user is guaranteed access to the same and latest version of the application. Plus, mobile app capabilities, such as offline support and optimizing access to the underlying network using service workers, take the user experience to a whole new level.
BaaS is a model for providing app developers with backend cloud storage and APIs while also providing features like user management, push notifications, and social integration. Parse is a popular BaaS platform that allows developers to store and query data, implement user authentication and authorization, and send push notifications, all through a simple open source SDK. The Parse SDK allows saving, retrieving, updating, and deleting objects from the cloud and includes support for features like files, users, queries, and local data storage.
The document discusses the mobile backend platform Parse and its features. Parse provides a complete backend for mobile and web applications, allowing developers to store and query data, implement user authentication and authorization, and more. It supports numerous platforms including Android, iOS, JavaScript, and embedded devices. Some key features covered include object modeling and storage, queries, user management, file storage, and security configuration via access control lists.
Muestra de opciones para automatizar refrescos en Modelos Tabulares a traves de Azure Data Factory, Azure Logic Apps, Azure Functions y refresco de base de datos, tablas y particiones en Azure Analysis Services.
The document discusses various features of Oracle ADF Mobile including:
1) Using remote URLs to embed existing web content in mobile apps.
2) Displaying remote files by downloading them locally and opening in native viewers.
3) Integrating REST services like Google Places to embed external data.
4) Embedding Twitter timelines using local HTML and Twitter widgets.
5) Enabling inter-app communication through URL schemes.
6) Implementing push notifications which require a complex setup but allow powerful delivery of messages.
Java Web Programming on Google Cloud Platform [1/3] : Google App Engine
Google App Engine is a platform for hosting web applications in Google's data centers. It allows developers to build applications on scalable infrastructure without having to manage servers. Key features include automatic scaling, high availability, easy deployment, and built-in services like Datastore, Memcache and Task Queue. The development process involves using the App Engine SDK, which includes a local development server that emulates the live environment. Applications are deployed to App Engine by uploading the compiled code.
This document provides an overview of using JavaScript to enhance SharePoint experiences. It discusses why JavaScript is useful, best practices, and several JavaScript libraries that can be used with SharePoint including utility libraries, data access libraries, application frameworks, and UI libraries. It also demonstrates how to register JavaScript on all pages in Office 365 and provides examples of Angular, jQuery, DataJS, and SPServices.
MongoDB Days UK: Building Apps with the MEAN Stack
Presented by Norberto Leite, Developer Advocate, MongoDB
Experience level: Advanced
Get ready to be MEAN! The MEAN Stack (MongoDB, ExpressJS, AngularJS and Node.js) allows developers to do rapid application development and application scaffolding. In this session, Norberto will walk you through strategies and best practices for building applications on the MEAN stack, the benefits of using such an application stack and the key benefits of each of the individual components.
Introduction to the SharePoint Client Object Model and REST API
As Microsoft was releasing SharePoint 2013 it was pretty clear that they were steering people away from using the product as a portal to using it as a gateway to external systems and services. Since the Server Object Model cannot be used remotely, developers building these external systems will need to become familiar with the Client Object Model (CSOM) and/or the REST API if they want to communicate with SharePoint. This session will introduce these two APIs, give a brief overview of their history, and then show you how to get started using them through a series of demonstrations.
Get started with building native mobile apps interacting with SharePoint
This is a supplementary slide deck to the presentation on how to build native Android app which integrates with SharePoint Online by using Xamarin and Visual Studio. Check out sharemuch.com for the source code
PredictionIO – A Machine Learning Server in Scala – SF Scala
A Machine Learning Server in Scala.
Building and Deploying ML Applications on production in a fraction of the time.
Slides from SF Scala meetup January 2015 at StumbleUpon.
How To Manage API Request with AXIOS on a React Native App
Making an API request is as simple as passing a configuration object to Axios or invoking the appropriate method with the necessary arguments. Read More: https://www.andolasoft.com/blog/how-to-manage-api-request-with-axios-on-react-native-app.html
An introduction to Express, the Sinatra-inspired MVC framework for Node.JS. You'll learn how Express manages and processes routes, how to use the Jade template engine, and how to design data models aimed to play nice with Express.
Sherlock Homepage - A detective story about running large web services - WebN...
The site was slow. CPU and memory usage everywhere! Some dead objects in the corner. Something terrible must have happened! We have some IIS logs. Some traces from a witness. But not enough to find out what was wrong. In this session, we’ll see how effective telemetry, a profiler or two as well as a refresher of how IIS runs our ASP.NET web applications can help solve this server murder mystery.
The document discusses building APIs in an easy way using API Platform. It describes how API Platform makes it simple to create APIs that support JSON-LD, Hydra, and HAL formats. API Platform is built on Symfony and integrates with common Symfony tools like Doctrine ORM. It provides features like CRUD operations, serialization groups, validation, pagination and extensions out of the box. The document also provides examples of creating a player resource and implementing authentication with JSON Web Tokens.
The site was slow. CPU and memory usage everywhere! Some dead objects in the corner. Something terrible must have happened! We have some IIS logs. Some traces from a witness. But not enough to find out what was wrong. In this session, we’ll see how effective telemetry, a profiler or two as well as a refresher of how IIS runs our ASP.NET web applications can help solve this server murder mystery.
Sherlock Homepage - A detective story about running large web services (VISUG...
The site was slow. CPU and memory usage everywhere! Some dead objects in the corner. Something terrible must have happened! We have some IIS logs. Some traces from a witness. But not enough to find out what was wrong. In this session, we’ll see how effective telemetry, a profiler or two as well as a refresher of how IIS runs our ASP.NET web applications can help solve this server murder mystery.
Jeff Scudder, Eric Bidelman
The number of APIs made available for Google products has exploded from a handful to a slew! Get
the big picture on what is possible with the APIs for everything from YouTube, to Spreadsheets, to
Search, to Translate. We'll go over a few tools to help you get started and the things these APIs share
in common. After this session picking up new Google APIs will be a snap.
The document discusses using Parse Cloud Code to build web applications, including basic operations like create, read, update, delete, how Parse and RESTful APIs work, and how to use Cloud Code to call external APIs, run background jobs, and include other JavaScript modules.
Sails.js is a realtime MVC framework for Node.js that is inspired by some of the best ideas behind Ruby on Rails and realtime frameworks like Meteor.js.
In this presentation I'll overview getting started with Sails.js, its architecture and features, as well as some advice on place to look at when you are getting started.
Learn a brand new way to think about web application development with Node.js!
This meetup will bring us back to basics with a bootstrapping session on building an all Javascript web application on a MEAN Stack:
• MongoDB - NoSQL DB
• ExpressJS - Server Application Framework
• AngularJS - Client Application Framework
• NodeJS - Application Platform
I'll cover the basics of getting bootstrapped with Node.js and building out a fully featured web application from backend-to-frontend. I'll highlight some of the advantages of an all javascript web application as well as show some development tips leveraging gruntJS based on Nate's presentation last meetup.
This document discusses deploying code to the cloud. It covers selecting a hosting provider, setting up security groups, launching an instance, and connecting via SSH. It also discusses securing the server by copying private keys and installing Node.js. Configuring Git repositories and users is covered along with enabling Git hooks for pre-receive and post-receive. Custom hook scripts and using hooks for repository mirroring and local cloning is summarized.
This document discusses CoffeeScript, a programming language that compiles to JavaScript. It provides an overview of CoffeeScript, highlighting its clarity, uniformity, and ease of translation to JavaScript. Key points include that CoffeeScript has alternative syntax that some find cleaner than JavaScript, compiles to readable JavaScript code, and is used by many popular Node.js modules and developers. Challenges of CoffeeScript like debugging and learning pains are also addressed.
Node version 0.8 includes significant performance improvements and changes to core APIs. It provides up to 10% faster execution speed and up to 4x faster file I/O due to changes in the V8 engine and underlying system calls. Many core Node modules like http, net, and child_processes see major API changes and added functionality. New features like domains and clusters are introduced to make asynchronous code and load distribution across cores easier.
8 Reasons to Use React Query" is likely a presentation discussing the benefits of using the React Query library for managing and caching data in a React application. The slides may cover topics such as efficient data fetching, automatic caching and stale-while-revalidate, real-time updates, and easy-to-use hooks for handling queries and mutations. Additionally, the slides may also highlight how React Query helps improve the performance, developer experience, and user experience of the application.
The document describes the Spring MVC request lifecycle and how requests are handled in Spring MVC. It discusses how the DispatcherServlet receives requests and uses handler mappings to determine which controller should handle each request. It then describes how controllers process requests, returning a ModelAndView which is used to render the view. It also provides details on configuring controllers, view resolvers, and handler mappings, as well as examples of different types of controllers like command, form, and multi-action controllers.
The document outlines the evolution of web technologies over time including HTML5 specifications, modern web APIs, and browser capabilities. It notes that an incremental approach to evolving HTML standards worked better than trying to switch everyone to XML at once. The document also references comments about using the full Safari engine to build apps for iPhone and how the term "HTML5" is commonly used as a buzzword for modern web technologies.
Mixpanel is the most advanced analytics platform for mobile & web. Instead of measuring pageviews, it helps you analyze the actions people take in your application. An action can be anything - someone uploading a picture, playing a video, or sharing a post, for example
Django User Management & Social AuthenticationSpin Lai
The document discusses Django user authentication and social authentication. It covers Django's built-in authentication system including views, forms, permissions and groups. It also discusses Python Social Auth for social authentication with Django, including concepts of authentication, association and disconnection. Finally, it provides steps to implement Facebook login, including creating a Facebook app, installing Python Social Auth, configuring settings, adding URLs and updating templates.
We'll take a look at setting up Shopware PWA, as well as how to create a plugin that fetches product recommendations. All without touching the Shopware Backend.
Find more of the right users with Google ads: best practices for GamingDevGAMM Conference
The focus of the presentation is Google App Campaigns. You will learn about Google Automation and Machine Learning and how to effectively use this machine powers. We present some trends / benchmarks in the industry and how these impact and imply to your UA strategy, share best practices on campaigns’ optimization and creatives advices.
Talk given at DevTeach Montreal on RxJS - The Basics & The Future.
Example repo: https://github.com/ladyleet/rxjs-test
Have questions? Find me on twitter http://twitter.com/ladyleet
Les Hazlewood, Stormpath co-founder and CTO and the Apache Shiro PMC Chair demonstrates how to design a beautiful REST + JSON API. Includes the principles of RESTful design, how REST differs from XML, tips for increasing adoption of your API, and security concerns.
Presentation video: https://www.youtube.com/watch?v=5WXYw4J4QOU
More info: http://www.stormpath.com/blog/designing-rest-json-apis
Further reading: http://www.stormpath.com/blog
Sign up for Stormpath: https://api.stormpath.com/register
Stormpath is a user management and authentication service for developers. By offloading user management and authentication to Stormpath, developers can bring applications to market faster, reduce development costs, and protect their users. Easy and secure, the flexible cloud service can manage millions of users with a scalable pricing model.
Dynamic Components using Single-Page-Application Concepts in AEM/CQNetcetera
This document summarizes a presentation on developing dynamic components in AEM using single-page application concepts. It discusses how traditional approaches to dynamic components can be tricky when components need to communicate and update frequently. An SPA approach treats each component as a module that handles its own data fetching and updating independently via AJAX calls. On page load, the server returns only static markup and components get dynamic data by making POST requests to a controller returning JSON. This allows for perceived faster interactions and easier front-end/back-end separation compared to full page reloads. Examples demonstrate rendering templates, initialization scripts, and a sample controller class to retrieve and return dynamic component data.
Introduction to GraphQL (or How I Learned to Stop Worrying about REST APIs)Hafiz Ismail
Talk for FOSSASIA 2016 (http://2016.fossasia.org)
----
This talk will give a brief and enlightening look into how GraphQL can help you address common weaknesses that you, as a web / mobile developer, would normally face with using / building typical REST API systems.
Let's stop fighting about whether we should implement the strictest interpretation of REST or how pragmatic REST-ful design is the only way to go, or debate about what REST is or what it should be.
A couple of demos (In Golang! Yay!) will be shown that are guaranteed to open up your eyes and see that the dawn of liberation for product developers is finally here.
Background: GraphQL is a data query language and runtime designed and used at Facebook to request and deliver data to mobile and web apps since 2012.
Hafiz Ismail (@sogko) is a contributor to Go / Golang implementation of GraphQL server library (https://github.com/graphql-go/graphql) and is looking to encourage fellow developers to join in the collaborative effort.
The document discusses 15 patterns for cloud native applications that extend beyond the 12 factor app methodology. These additional patterns cover areas like API design, dependency management, configuration, logging, concurrency, and security. The patterns are presented as ways to further improve portability, scalability and operational efficiency of applications running in the cloud.
Sling Models Using Sightly and JSP by Deepak KhetawatAEM HUB
This document discusses using Sling Models with Sightly and JSP templates in AEM. It provides an overview of Sling Models, including their purpose, design goals, and key annotations. It also describes the standard injectors available in Sling Models and how to create custom injectors. The document outlines how to add Sling Model dependencies and use Sling Models within JSP and Sightly templates, including code examples. It concludes with a demonstration of Sling Models in action and information for appendix materials and questions.
Sencha Roadshow 2017: Build Progressive Web Apps with Ext JS and Cmd Sencha
Learn how to use Ext JS and Cmd to deliver Progressive Web Applications to deliver the best of both web and mobile app experiences. Web apps can be found easily on the internet and every user is guaranteed access to the same and latest version of the application. Plus, mobile app capabilities, such as offline support and optimizing access to the underlying network using service workers, take the user experience to a whole new level.
BaaS is a model for providing app developers with backend cloud storage and APIs while also providing features like user management, push notifications, and social integration. Parse is a popular BaaS platform that allows developers to store and query data, implement user authentication and authorization, and send push notifications, all through a simple open source SDK. The Parse SDK allows saving, retrieving, updating, and deleting objects from the cloud and includes support for features like files, users, queries, and local data storage.
The document discusses the mobile backend platform Parse and its features. Parse provides a complete backend for mobile and web applications, allowing developers to store and query data, implement user authentication and authorization, and more. It supports numerous platforms including Android, iOS, JavaScript, and embedded devices. Some key features covered include object modeling and storage, queries, user management, file storage, and security configuration via access control lists.
Automatizacion de Procesos en Modelos TabularesGaston Cruz
Muestra de opciones para automatizar refrescos en Modelos Tabulares a traves de Azure Data Factory, Azure Logic Apps, Azure Functions y refresco de base de datos, tablas y particiones en Azure Analysis Services.
Reaching out from ADF Mobile (ODTUG KScope 2014)Luc Bors
The document discusses various features of Oracle ADF Mobile including:
1) Using remote URLs to embed existing web content in mobile apps.
2) Displaying remote files by downloading them locally and opening in native viewers.
3) Integrating REST services like Google Places to embed external data.
4) Embedding Twitter timelines using local HTML and Twitter widgets.
5) Enabling inter-app communication through URL schemes.
6) Implementing push notifications which require a complex setup but allow powerful delivery of messages.
Java Web Programming on Google Cloud Platform [1/3] : Google App EngineIMC Institute
Google App Engine is a platform for hosting web applications in Google's data centers. It allows developers to build applications on scalable infrastructure without having to manage servers. Key features include automatic scaling, high availability, easy deployment, and built-in services like Datastore, Memcache and Task Queue. The development process involves using the App Engine SDK, which includes a local development server that emulates the live environment. Applications are deployed to App Engine by uploading the compiled code.
This document provides an overview of using JavaScript to enhance SharePoint experiences. It discusses why JavaScript is useful, best practices, and several JavaScript libraries that can be used with SharePoint including utility libraries, data access libraries, application frameworks, and UI libraries. It also demonstrates how to register JavaScript on all pages in Office 365 and provides examples of Angular, jQuery, DataJS, and SPServices.
MongoDB Days UK: Building Apps with the MEAN StackMongoDB
Presented by Norberto Leite, Developer Advocate, MongoDB
Experience level: Advanced
Get ready to be MEAN! The MEAN Stack (MongoDB, ExpressJS, AngularJS and Node.js) allows developers to do rapid application development and application scaffolding. In this session, Norberto will walk you through strategies and best practices for building applications on the MEAN stack, the benefits of using such an application stack and the key benefits of each of the individual components.
Introduction to the SharePoint Client Object Model and REST APIRob Windsor
As Microsoft was releasing SharePoint 2013 it was pretty clear that they were steering people away from using the product as a portal to using it as a gateway to external systems and services. Since the Server Object Model cannot be used remotely, developers building these external systems will need to become familiar with the Client Object Model (CSOM) and/or the REST API if they want to communicate with SharePoint. This session will introduce these two APIs, give a brief overview of their history, and then show you how to get started using them through a series of demonstrations.
This is a supplementary slide deck to the presentation on how to build native Android app which integrates with SharePoint Online by using Xamarin and Visual Studio. Check out sharemuch.com for the source code
PredictionIO – A Machine Learning Server in Scala – SF Scalapredictionio
A Machine Learning Server in Scala.
Building and Deploying ML Applications on production in a fraction of the time.
Slides from SF Scala meetup January 2015 at StumbleUpon.
How To Manage API Request with AXIOS on a React Native AppAndolasoft Inc
Making an API request is as simple as passing a configuration object to Axios or invoking the appropriate method with the necessary arguments. Read More: https://www.andolasoft.com/blog/how-to-manage-api-request-with-axios-on-react-native-app.html
An introduction to Express, the Sinatra-inspired MVC framework for Node.JS. You'll learn how Express manages and processes routes, how to use the Jade template engine, and how to design data models aimed to play nice with Express.
Sherlock Homepage - A detective story about running large web services - WebN...Maarten Balliauw
The site was slow. CPU and memory usage everywhere! Some dead objects in the corner. Something terrible must have happened! We have some IIS logs. Some traces from a witness. But not enough to find out what was wrong. In this session, we’ll see how effective telemetry, a profiler or two as well as a refresher of how IIS runs our ASP.NET web applications can help solve this server murder mystery.
The document discusses building APIs in an easy way using API Platform. It describes how API Platform makes it simple to create APIs that support JSON-LD, Hydra, and HAL formats. API Platform is built on Symfony and integrates with common Symfony tools like Doctrine ORM. It provides features like CRUD operations, serialization groups, validation, pagination and extensions out of the box. The document also provides examples of creating a player resource and implementing authentication with JSON Web Tokens.
The site was slow. CPU and memory usage everywhere! Some dead objects in the corner. Something terrible must have happened! We have some IIS logs. Some traces from a witness. But not enough to find out what was wrong. In this session, we’ll see how effective telemetry, a profiler or two as well as a refresher of how IIS runs our ASP.NET web applications can help solve this server murder mystery.
Sherlock Homepage - A detective story about running large web services (VISUG...Maarten Balliauw
The site was slow. CPU and memory usage everywhere! Some dead objects in the corner. Something terrible must have happened! We have some IIS logs. Some traces from a witness. But not enough to find out what was wrong. In this session, we’ll see how effective telemetry, a profiler or two as well as a refresher of how IIS runs our ASP.NET web applications can help solve this server murder mystery.
Jeff Scudder, Eric Bidelman
The number of APIs made available for Google products has exploded from a handful to a slew! Get
the big picture on what is possible with the APIs for everything from YouTube, to Spreadsheets, to
Search, to Translate. We'll go over a few tools to help you get started and the things these APIs share
in common. After this session picking up new Google APIs will be a snap.
The document discusses using Parse Cloud Code to build web applications, including basic operations like create, read, update, delete, how Parse and RESTful APIs work, and how to use Cloud Code to call external APIs, run background jobs, and include other JavaScript modules.
Sails.js is a realtime MVC framework for Node.js that is inspired by some of the best ideas behind Ruby on Rails and realtime frameworks like Meteor.js.
In this presentation I'll overview getting started with Sails.js, its architecture and features, as well as some advice on place to look at when you are getting started.
Learn a brand new way to think about web application development with Node.js!
This meetup will bring us back to basics with a bootstrapping session on building an all Javascript web application on a MEAN Stack:
• MongoDB - NoSQL DB
• ExpressJS - Server Application Framework
• AngularJS - Client Application Framework
• NodeJS - Application Platform
I'll cover the basics of getting bootstrapped with Node.js and building out a fully featured web application from backend-to-frontend. I'll highlight some of the advantages of an all javascript web application as well as show some development tips leveraging gruntJS based on Nate's presentation last meetup.
This document discusses deploying code to the cloud. It covers selecting a hosting provider, setting up security groups, launching an instance, and connecting via SSH. It also discusses securing the server by copying private keys and installing Node.js. Configuring Git repositories and users is covered along with enabling Git hooks for pre-receive and post-receive. Custom hook scripts and using hooks for repository mirroring and local cloning is summarized.
This document discusses CoffeeScript, a programming language that compiles to JavaScript. It provides an overview of CoffeeScript, highlighting its clarity, uniformity, and ease of translation to JavaScript. Key points include that CoffeeScript has alternative syntax that some find cleaner than JavaScript, compiles to readable JavaScript code, and is used by many popular Node.js modules and developers. Challenges of CoffeeScript like debugging and learning pains are also addressed.
Node version 0.8 includes significant performance improvements and changes to core APIs. It provides up to 10% faster execution speed and up to 4x faster file I/O due to changes in the V8 engine and underlying system calls. Many core Node modules like http, net, and child_processes see major API changes and added functionality. New features like domains and clusters are introduced to make asynchronous code and load distribution across cores easier.
This document discusses different types of NoSQL databases including key-value, column, document, and graph databases. It provides examples of use cases for each type and recommends Node.js modules for interacting with popular NoSQL databases like Redis, Cassandra, MongoDB, and Neo4j. The presentation emphasizes that NoSQL databases are not SQL and have different data modeling and querying approaches.
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionBert Blevins
Cybersecurity is a major concern in today's connected digital world. Threats to organizations are constantly evolving and have the potential to compromise sensitive information, disrupt operations, and lead to significant financial losses. Traditional cybersecurity techniques often fall short against modern attackers. Therefore, advanced techniques for cyber security analysis and anomaly detection are essential for protecting digital assets. This blog explores these cutting-edge methods, providing a comprehensive overview of their application and importance.
How Social Media Hackers Help You to See Your Wife's Message.pdfHackersList
In the modern digital era, social media platforms have become integral to our daily lives. These platforms, including Facebook, Instagram, WhatsApp, and Snapchat, offer countless ways to connect, share, and communicate.
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...Chris Swan
Have you noticed the OpenSSF Scorecard badges on the official Dart and Flutter repos? It's Google's way of showing that they care about security. Practices such as pinning dependencies, branch protection, required reviews, continuous integration tests etc. are measured to provide a score and accompanying badge.
You can do the same for your projects, and this presentation will show you how, with an emphasis on the unique challenges that come up when working with Dart and Flutter.
The session will provide a walkthrough of the steps involved in securing a first repository, and then what it takes to repeat that process across an organization with multiple repos. It will also look at the ongoing maintenance involved once scorecards have been implemented, and how aspects of that maintenance can be better automated to minimize toil.
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-InTrustArc
Six months into 2024, and it is clear the privacy ecosystem takes no days off!! Regulators continue to implement and enforce new regulations, businesses strive to meet requirements, and technology advances like AI have privacy professionals scratching their heads about managing risk.
What can we learn about the first six months of data privacy trends and events in 2024? How should this inform your privacy program management for the rest of the year?
Join TrustArc, Goodwin, and Snyk privacy experts as they discuss the changes we’ve seen in the first half of 2024 and gain insight into the concrete, actionable steps you can take to up-level your privacy program in the second half of the year.
This webinar will review:
- Key changes to privacy regulations in 2024
- Key themes in privacy and data governance in 2024
- How to maximize your privacy program in the second half of 2024
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...Erasmo Purificato
Slide of the tutorial entitled "Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Emerging Trends" held at UMAP'24: 32nd ACM Conference on User Modeling, Adaptation and Personalization (July 1, 2024 | Cagliari, Italy)
Mitigating the Impact of State Management in Cloud Stream Processing SystemsScyllaDB
Stream processing is a crucial component of modern data infrastructure, but constructing an efficient and scalable stream processing system can be challenging. Decoupling compute and storage architecture has emerged as an effective solution to these challenges, but it can introduce high latency issues, especially when dealing with complex continuous queries that necessitate managing extra-large internal states.
In this talk, we focus on addressing the high latency issues associated with S3 storage in stream processing systems that employ a decoupled compute and storage architecture. We delve into the root causes of latency in this context and explore various techniques to minimize the impact of S3 latency on stream processing performance. Our proposed approach is to implement a tiered storage mechanism that leverages a blend of high-performance and low-cost storage tiers to reduce data movement between the compute and storage layers while maintaining efficient processing.
Throughout the talk, we will present experimental results that demonstrate the effectiveness of our approach in mitigating the impact of S3 latency on stream processing. By the end of the talk, attendees will have gained insights into how to optimize their stream processing systems for reduced latency and improved cost-efficiency.
Sustainability requires ingenuity and stewardship. Did you know Pigging Solutions pigging systems help you achieve your sustainable manufacturing goals AND provide rapid return on investment.
How? Our systems recover over 99% of product in transfer piping. Recovering trapped product from transfer lines that would otherwise become flush-waste, means you can increase batch yields and eliminate flush waste. From raw materials to finished product, if you can pump it, we can pig it.
Choose our Linux Web Hosting for a seamless and successful online presencerajancomputerfbd
Our Linux Web Hosting plans offer unbeatable performance, security, and scalability, ensuring your website runs smoothly and efficiently.
Visit- https://onliveserver.com/linux-web-hosting/
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxSynapseIndia
Your comprehensive guide to RPA in healthcare for 2024. Explore the benefits, use cases, and emerging trends of robotic process automation. Understand the challenges and prepare for the future of healthcare automation
7 Most Powerful Solar Storms in the History of Earth.pdfEnterprise Wired
Solar Storms (Geo Magnetic Storms) are the motion of accelerated charged particles in the solar environment with high velocities due to the coronal mass ejection (CME).
Quality Patents: Patents That Stand the Test of TimeAurora Consulting
Is your patent a vanity piece of paper for your office wall? Or is it a reliable, defendable, assertable, property right? The difference is often quality.
Is your patent simply a transactional cost and a large pile of legal bills for your startup? Or is it a leverageable asset worthy of attracting precious investment dollars, worth its cost in multiples of valuation? The difference is often quality.
Is your patent application only good enough to get through the examination process? Or has it been crafted to stand the tests of time and varied audiences if you later need to assert that document against an infringer, find yourself litigating with it in an Article 3 Court at the hands of a judge and jury, God forbid, end up having to defend its validity at the PTAB, or even needing to use it to block pirated imports at the International Trade Commission? The difference is often quality.
Quality will be our focus for a good chunk of the remainder of this season. What goes into a quality patent, and where possible, how do you get it without breaking the bank?
** Episode Overview **
In this first episode of our quality series, Kristen Hansen and the panel discuss:
⦿ What do we mean when we say patent quality?
⦿ Why is patent quality important?
⦿ How to balance quality and budget
⦿ The importance of searching, continuations, and draftsperson domain expertise
⦿ Very practical tips, tricks, examples, and Kristen’s Musts for drafting quality applications
https://www.aurorapatents.com/patently-strategic-podcast.html
Are you interested in dipping your toes in the cloud native observability waters, but as an engineer you are not sure where to get started with tracing problems through your microservices and application landscapes on Kubernetes? Then this is the session for you, where we take you on your first steps in an active open-source project that offers a buffet of languages, challenges, and opportunities for getting started with telemetry data.
The project is called openTelemetry, but before diving into the specifics, we’ll start with de-mystifying key concepts and terms such as observability, telemetry, instrumentation, cardinality, percentile to lay a foundation. After understanding the nuts and bolts of observability and distributed traces, we’ll explore the openTelemetry community; its Special Interest Groups (SIGs), repositories, and how to become not only an end-user, but possibly a contributor.We will wrap up with an overview of the components in this project, such as the Collector, the OpenTelemetry protocol (OTLP), its APIs, and its SDKs.
Attendees will leave with an understanding of key observability concepts, become grounded in distributed tracing terminology, be aware of the components of openTelemetry, and know how to take their first steps to an open-source contribution!
Key Takeaways: Open source, vendor neutral instrumentation is an exciting new reality as the industry standardizes on openTelemetry for observability. OpenTelemetry is on a mission to enable effective observability by making high-quality, portable telemetry ubiquitous. The world of observability and monitoring today has a steep learning curve and in order to achieve ubiquity, the project would benefit from growing our contributor community.
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsMydbops
This presentation, delivered at the Postgres Bangalore (PGBLR) Meetup-2 on June 29th, 2024, dives deep into connection pooling for PostgreSQL databases. Aakash M, a PostgreSQL Tech Lead at Mydbops, explores the challenges of managing numerous connections and explains how connection pooling optimizes performance and resource utilization.
Key Takeaways:
* Understand why connection pooling is essential for high-traffic applications
* Explore various connection poolers available for PostgreSQL, including pgbouncer
* Learn the configuration options and functionalities of pgbouncer
* Discover best practices for monitoring and troubleshooting connection pooling setups
* Gain insights into real-world use cases and considerations for production environments
This presentation is ideal for:
* Database administrators (DBAs)
* Developers working with PostgreSQL
* DevOps engineers
* Anyone interested in optimizing PostgreSQL performance
Contact info@mydbops.com for PostgreSQL Managed, Consulting and Remote DBA Services
UiPath Community Day Kraków: Devs4Devs ConferenceUiPathCommunity
We are honored to launch and host this event for our UiPath Polish Community, with the help of our partners - Proservartner!
We certainly hope we have managed to spike your interest in the subjects to be presented and the incredible networking opportunities at hand, too!
Check out our proposed agenda below 👇👇
08:30 ☕ Welcome coffee (30')
09:00 Opening note/ Intro to UiPath Community (10')
Cristina Vidu, Global Manager, Marketing Community @UiPath
Dawid Kot, Digital Transformation Lead @Proservartner
09:10 Cloud migration - Proservartner & DOVISTA case study (30')
Marcin Drozdowski, Automation CoE Manager @DOVISTA
Pawel Kamiński, RPA developer @DOVISTA
Mikolaj Zielinski, UiPath MVP, Senior Solutions Engineer @Proservartner
09:40 From bottlenecks to breakthroughs: Citizen Development in action (25')
Pawel Poplawski, Director, Improvement and Automation @McCormick & Company
Michał Cieślak, Senior Manager, Automation Programs @McCormick & Company
10:05 Next-level bots: API integration in UiPath Studio (30')
Mikolaj Zielinski, UiPath MVP, Senior Solutions Engineer @Proservartner
10:35 ☕ Coffee Break (15')
10:50 Document Understanding with my RPA Companion (45')
Ewa Gruszka, Enterprise Sales Specialist, AI & ML @UiPath
11:35 Power up your Robots: GenAI and GPT in REFramework (45')
Krzysztof Karaszewski, Global RPA Product Manager
12:20 🍕 Lunch Break (1hr)
13:20 From Concept to Quality: UiPath Test Suite for AI-powered Knowledge Bots (30')
Kamil Miśko, UiPath MVP, Senior RPA Developer @Zurich Insurance
13:50 Communications Mining - focus on AI capabilities (30')
Thomasz Wierzbicki, Business Analyst @Office Samurai
14:20 Polish MVP panel: Insights on MVP award achievements and career profiling
Best Practices for Effectively Running dbt in Airflow.pdfTatiana Al-Chueyr
As a popular open-source library for analytics engineering, dbt is often used in combination with Airflow. Orchestrating and executing dbt models as DAGs ensures an additional layer of control over tasks, observability, and provides a reliable, scalable environment to run dbt models.
This webinar will cover a step-by-step guide to Cosmos, an open source package from Astronomer that helps you easily run your dbt Core projects as Airflow DAGs and Task Groups, all with just a few lines of code. We’ll walk through:
- Standard ways of running dbt (and when to utilize other methods)
- How Cosmos can be used to run and visualize your dbt projects in Airflow
- Common challenges and how to address them, including performance, dependency conflicts, and more
- How running dbt projects in Airflow helps with cost optimization
Webinar given on 9 July 2024
4. “Parse's vision is to let developers
build any mobile app without
dealing with servers.”
6. a suite of tools to replace or support
your app’s backend
Parse Data
Parse Push
Parse Social Parse Analytics Parse Hosting
Cloud Code
Backend-as-a-Service (BaaS)
12. +
Generate an Express App
yo express
Install Parse module
npm install parse
Run Server
grunt
13. Alternative Node-Parse Modules
“IMPORTANT NOTE: This api is not currently maintained. If
I were starting a parse project today using node.js, I would
probably start out with https://github.com/shiki/kaiseki”
npm install node-parse-api
A Parse.com REST API client for Node.js
npm install kaiseki
https://parse.com/docs/rest
14. Quick-Start
https://parse.com/apps/quickstart#js/native/blank
Import and Initialize Parse Module
var Parse = require('parse').Parse;
Parse.initialize(“Application ID", “JavaScript Key");
Save a “TestObject”
var TestObject = Parse.Object.extend("TestObject");
var testObject = new TestObject();
testObject.save({foo: "bar"}, {
success: function(object) {
alert("yay! it worked");
}
});
16. Parse Data
Store your app’s data in the cloud. No servers necessary.
https://parse.com/products/data
17. Parse Data Objects
Data is schema-less
Automatic objectId, createAt and modifiedAt fields
Objects can be extended from other objects (classes)
Objects can be relational
{
objectId : "xWMyZ4YEGZ",
score: 1337,
playerName : "Sean Plott",
cheatMode : false,
createdAt : "2011-06-10T18:33:42Z",
updatedAt : "2011-06-10T18:33:42Z"
}
18. Object API
https://www.parse.com/docs/js_guide#objects
var Class = Parse.Object.extend("ClassName");
var item = new Class();
item.method({params},{callbacks})
item.save({"field" : "value"}, {
success : function(obj) {
// Execute any logic that should take place after the object is saved.
},
error : function(obj,error) {
// Execute any logic that should take place if the save fails.
// error is a Parse.Error with an error code and description.
}
})
19. Object Methods
•
save(params,callback) - save params to your object
•
fetch(callbacks) - refresh an object
•
set(field,value)/get(field) - stage params for saving to object
•
increment/decrement(field,value) - ++ and - -
•
destroy(callbacks) - delete an object
•
unset(field) - delete a field
•
add, addUnique, remove - array specific methods
http://www.parse.com/docs/js/symbols/Parse.Object.html
20. Query API
Retrieve many objects at once, put conditions on the objects
you wish to retrieve, and more
var GameScore = Parse.Object.extend("GameScore");
var query = new Parse.Query(GameScore);
query.equalTo("playerEmail", “blazor777@blah.com");
query.find({
success: function(object) {
// Successfully retrieved the object.
},
error: function(error) {
// Handle error
}
});
https://www.parse.com/docs/js_guide#queries
21. Query Methods
•
get(objectId,callbacks) - get one object by ID
•
find(callbacks) - runs query and returns results
•
equalTo, notEqualTo, etc - stage filters for query results
•
limit(num)/skip(num) - stage range for query results
•
ascending/descending - stage order for query results
•
first(callbacks) - like find, but just the first match
•
count(callbacks) - if you just want to know total of results
http://www.parse.com/docs/js/symbols/Parse.Query.html
22. Object Pointers
One-to-one and one-to-many relationships are modeled by
saving a Parse.Object as a value in the other object (pointer).
var
var
var
var
Portfolio = Parse.Object.extend("Portfolio");
item = new Portfolio();
Comment = Parse.Object.extend("Comment");
post = new Comment();
post.save({'message' : "this is great!"},{
success : function() {
item.set("comments",[post]);
item.save();
}
});
Saving an Object pointer
{
],
}
"comments": [
{
"__type": "Pointer",
"className": "Comment",
"objectId": "YrLhRXbnfc"
}
"objectId": "Z8CarHlfu2",
"createdAt": "2013-11-05T20:06:59.130Z",
"updatedAt": "2013-11-05T20:06:59.130Z"
Pointer Data without being fetched
By default, when fetching an object, related Parse.Objects are not fetched. These
objects' values cannot be retrieved until they have been fetched
23. Object Relations
Many-to-many relationships are modeled using Parse.Relation.
var
var
var
var
Portfolio = Parse.Object.extend("Portfolio");
item = new Portfolio();
Comment = Parse.Object.extend("Comment");
post = new Comment();
post.save({'message' : "this is great!"},{
success : function() {
var relation = item.relation("comments");
relation.add(post);
item.save();
}
});
Saving an Object relation
var relation = item.relation(“comments");
var query = relation.query();
query.equalTo("author", “Sam");
query.limit(10);
"
"
query().find({
success: function(list) {
// list of all relation results
}
});
Retrieve relation data using Query API
By default, the list of objects in this relation are not downloaded. You can get a list
of the posts that a user likes by using the Parse.Query returned by query.
25. Lots of other Data goodness
Every asynchronous method in the Parse JavaScript SDK
returns a Promise
Object instance and class methods
A Parse.Collection is an ordered set of Parse.Objects. It is
compatible with Backbone.Collection, and has all the same
functionality.
Parse.File lets you store application files in the cloud
27. Enabling Push Notifications
To send notifications from the JavaScript SDK outside of Cloud
Code or any of the other client SDKs, you will need to set Client
Push Enabled in the Push Notifications settings of your Parse app.
Flip this to get started
28. Parse Channels
Allows you to use a publisher-subscriber model for sending pushes.
Parse.Push.send({
channels: [ "Giants", "Mets" ],
data: {
alert: "The Giants won against the Mets 2-3."
}
}, {
success: function() {
// Push was successful
},
error: function(error) {
// Handle error
}
});
The channels subscribed to by a given Installation are stored in the
channels field of the Installation object.
Installation Object modification not available in
JavaScript SDK
29. Push Options
•
alert- your notification’s message
•
badge (iOS) - # of pending notifications on your app
•
sound (iOS) - play a sound file in your application
bundle
•
content-available (iOS) - for Newsstand apps
•
action (android) - Intent to be executed when received
•
title (android)- displayed in notification tray
30. Advanced Targeting
While channels are great for many applications, sometimes you need
more precision when targeting the recipients of your pushes.
var query = new Parse.Query(Parse.Installation);
query.equalTo('channels', 'Pirates'); // Set our channel
query.equalTo('scores', true);
Parse.Push.send({
where: query,
data: {
alert: "Pirates scored against the Cardinals! It's now 3-2."
}
}, {
success: function() {
// Push was successful
},
error: function(error) {
// Handle error
}
});
Data stored in Installation Object can be used with Query API
31. Receiving Pushes…
The JavaScript SDK does not currently support
subscribing iOS and Android devices for pushes
The JavaScript SDK does not currently support
receiving pushes.
34. Parse User
Parse.User is a subclass of Parse.Object, and has all the same features
var user = new Parse.User();
user.set("username", "Nick");
user.set("password", "voltan123");
user.set("email", "nick@hotmail.com");
// other fields can be set just like with Parse.Object
user.set("phone", "XXX-XX-XXXX");
user.signUp(null, {
success: function(user) {
// Hooray! Let them use the app now.
},
error: function(user, error) {
// Show the error message somewhere and let the user try again.
}
});
•
username - required, makes sure username is unique
•
password - required, stores as hidden hash
•
email - optional, makes sure email is unique
35. User API
•
signUp(params,callback) - create new User
•
logIn(user,pass,callbacks) - authenticate User
•
logOut() - sign out User
•
save(params,callbacks) - update User fields
•
User.current()- get current User from localStorage
•
User.requestPasswordReset(email, options)
http://parse.com/docs/js/symbols/Parse.User.html
36. Setup for Facebook Integration
1.
Setup a Facebook App
2.
Add Facebook JS SDK to your app
3.
Add FB App ID to Parse App Settings Page
4.
Replace FB.init() with Parse.FacebookUtils.init()
https://developers.facebook.com/apps
https://developers.facebook.com/docs/reference/javascript/
https://www.parse.com/apps/<your app name>/edit#authentication
37. Facebook Social Sign On
allow your Parse.Users to log in or sign up through Facebook.
Parse.FacebookUtils.logIn("user_likes,email", {
success: function(user) {
if (!user.existed()) {
// User registered through Facebook!
} else {
// User signed in through Facebook!
}
},
error: function(user, error) {
// User didn’t authorize for some reason…
}
});
You may optionally provide a comma-delimited string that specifies
what permissions your app requires from the Facebook user
https://www.parse.com/docs/js_guide#fbusers-signup
38. Facebook SDK + Node…
https://parse.com/questions/facebook-login-with-the-node-sdk-for-parse
The Facebook JavaScript SDK does not work in Node
Sign in with the Facebook Javascript SDK client side and then
transfer the credentials to the server and use REST API
39. Getting more Social
Security - roles and ACLs
Email verification and password reset
Twitter, 3rd Party Integration and Account Linking
Users in Data Browser
40. Parse Analytics
Track any data point in your app in real-time
https://www.parse.com/products/analytics
42. Custom Analytics
Track free-form events, with a handful of string keys and values
var dimensions = {
priceRange: '1000-1500',
customerType: 'renter',
age: '22-25'
};
// Send the dimensions to Parse along with the 'search' event
Parse.Analytics.track('search', dimensions);
Dimensions must
be string values
43. Check your Parse module version!
https://parse.com/questions/updates-to-the-parse-package-innpm-appear-infrequent
npm currently thinks this is the latest version
root.Parse.VERSION = "js1.2.8";
Download the actual latest version manually to get
Parse.Analytics Object
root.Parse.VERSION = "js1.2.12";
https://www.parse.com/docs/downloads
44. Parse Hosting
A powerful web presence without all the hassle.
https://www.parse.com/products/hosting
45. Parse Cloud Code
Add rich, custom logic to your app’s backend without servers.
https://www.parse.com/products/cloud_code
47. Cloud Code Project
cloud - where you cloud code snippets live
config - where your Parse app config lives
public - where static files that will be hosted live
Hosting a website with Parse is easy. Everything in the public
directory will be hosted at your-custom-subdomain.parseapp.com.
49. Cloud Functions
Cloud functions can be called from any of the client SDKs, as well as
through the REST API
Parse.Cloud.define("averageStars", function(request, response) {
var query = new Parse.Query("Review");
query.equalTo("movie", request.params.movie);
query.find({
success: function(results) {
var sum = 0;
for (var i = 0; i < results.length; ++i) {
sum += results[i].get("stars");
}
response.success(sum / results.length);
},
error: function() {
response.error("movie lookup failed");
}
});
});
Parse.Cloud.run('averageStars', {"movie":"The Matrix"}, {
success: function(result) {
// returns cloud function results
},
error: function(error) {
// returns error from cloud code
}
});
50. Cloud Functions API
•
run(key,params,callbacks) - All
•
before/afterSave(class,callbacks) - All
•
before/afterDelete(class,callbacks) - All
•
useMasterKey() - Cloud Code and Node.js only
•
define(key,callback) - Cloud Code only
•
httpRequest(options) - Cloud Code only
http://parse.com/docs/js/symbols/Parse.Cloud.html
51. Parse Express Server
After you get Parse Hosting set up, you can add dynamic backend
logic to your website by generating an Express application.
parse generate express
Creating directory /Users/nick/MyCloudCode/cloud/views
Writing out sample file /Users/nick/MyCloudCode/cloud/app.js
Writing out sample file /Users/nick/MyCloudCode/cloud/views/hello.ejs
Almost done! Please add this line to the top of your main.js:
require('cloud/app.js');
// These two lines are required to initialize Express in Cloud Code.
var express = require('express');
var app = express();
// Global app configuration section
app.set('views', 'cloud/views'); // Specify the folder to find templates
app.set('view engine', 'ejs');
// Set the template engine
app.use(express.bodyParser());
// Middleware for reading request body
// This is an example of hooking up a request handler with a specific request
// path and HTTP verb using the Express routing API.
app.get('/hello', function(req, res) {
res.render('hello', { message: 'Congrats, you just set up your app!' });
});
// Attach the Express app to Cloud Code.
app.listen();
52. Cloud Modules
Cloud Code supports breaking up JavaScript code into modules.
cloud/name.js
var coolNames = ['Ralph', 'Skippy', 'Chip', 'Ned', 'Scooter'];
exports.isACoolName = function(name) {
return coolNames.indexOf(name) !== -1;
}
cloud/main.js
var name = require('cloud/name.js');
name.isACoolName('Fred'); // returns false
name.isACoolName('Skippy'); // returns true;
name.coolNames; // undefined.
Pre-installed Cloud Modules
var Crowdflower = require('crowdflower');
Crowdflower.initialize('myAPIKey');