10 GitHub samples with Azure DocumentDB you shouldn’t miss!

Azure DocumentDB is a fully managed, multi-model, scalable, queryable, schema-free NoSQL database service built for modern applications: mobile, web, IoT, bots, AI, etc. Recently, I went on GitHub and have found a lot of useful material and links to step-by-step tutorials and examples. Below are the top 10 that anyone starting to build an app backed by planet-scale NoSQL should know about. There is lots more. So head on over and learn about this cool new NoSQL planet-scale database service.

1. Azure/azure-documentdb-dotnet

In this repo, you can find the samples and utilities relating to Azure DocumentDB and the .NET SDK and how to use them. The samples demonstrate how to use every method and operation of the .NET SDK, and searchabletodo is a sample ASP.NET MVC web application that shows how to build an ASP.NET MVC web application with DocumentDB and then further enrich it with Azure Search. Another great example in this repo is a Xamarin sample which illustrates how to use DocumentDB built-in authorization engine to implement per-user data pattern for a Xamarin mobile app. It is a simple multi-user ToDo list app allowing users to login using Facebook Auth and manage their to do items. After playing with this sample, you can then go further with Xamarin and build any IoS or Android app on top of DocumentDB.

The samples will walk you through how to best interact with the service using Client SDK. Specifically:

CollectionManagement – shows CRUD operations on DocumentCollection resources.
DatabaseManagent – shows CRUD operations on Database resources.
DocumentManagement – shows CRUD operations on Document resources.
IndexManagement – shows samples on how to customize the Indexing Policy for a Collection should you need to.
Partitioning – included samples for common partitioning scenarios using the .NET SDK.
Queries –  shows how to query using LINQ and SQL.
ServerSideScripts – shows how to create and execute Stored Procedures, Triggers and User Defined Functions.
UserManagement – shows CRUD operations on User and Permission resources.
Spatial – shows how to work with GeoJSON and DocumentDB geospatial capabilities.

After walking through these samples, you should have a good idea of how to get going and how to make use of the various APIs interacting with the NoSQL service in Azure.

2. mingaliu/DocumentDBStudio

This repo contains DocumentDBStudio –  a client management viewer/explorer for DocumentDB service. Currently it supports:

Easy browsing of DocumentDB resources, which enables you to learn DocumentDB resource model very quickly.
Create, Read, Update, Delete (CRUD) and Query operations for every DocumentDB resources and resource feed.
Support of SQL or UDF query. You can execute Javascript stored procedure or trigger right from DocumentDBStudio.
Inspection of headers (for quota, usage, RG charge, etc.) for every request operation. It also supports three connection modes: TCP, HTTPDirect, and Gateway.
Support of various RequestOptions (for pre/post trigger, sessionToken, consistency model etc), FeedOptions(for paging, enableScanforQuery etc), IndexingPolicy (for indexingMode, indexingType, indexingPath etc).
PrettyPrint the output JSON.
Bulk import of JSON files.

It is simply a “good IDE” for the “natives” of DocumentDB. Give it a try.

3. Azure/azure-documentdb-node

This repo provides a Node.js module that makes it easy to interact with Azure DocumentDB using Node.js – an open-source, cross-platform JavaScript runtime environment suited for developing a diverse variety of tools and applications. Node.js aims to optimize throughput and scalability in Web applications with many input/output operations, as well as for real-time Web applications (e.g., real-time communication programs and browser games). Combining it with DocumentDB service gives you a really powerful combination and agility in building up an app and then scaling it up very quickly.

If you are developing using Node.js and combining it with DocumentDB, see Node.js Developer Center and the Microsoft Azure DocumentDB Node.js SDK Documentation. Also, to get started, watch this YouTube video. The samples in the repo were built using the Node.js Tools for Visual Studio and include njsproj files accordingly. However, you do not need Visual Studio to run these samples. Just ignore the nsjprof files, if you wish, and open the app.js in your choice of editor such as Visual Studio Code, or even a text editor, such as Sublime. The choice is yours!

4. Azure/azure-documentdb-datamigrationtool

This repo contains the DocumentDB Data Migration Tool – an open source solution to import data to DocumentDB from a variety of sources with ease and simplicity. The migration tool supports migration of data from the following sources:

Azure Tables
JSON files
MongoDB
SQL Server
CSV files
RavenDB
Amazon DynamoDB
HBase
DocumentDB collections

While the import tool includes a graphical user interface (dtui.exe), it can also be driven from the command line (dt.exe). In fact, there is an option to output the associated command after setting up an import through the UI. Tabular source data (e.g. SQL Server or CSV files) can be transformed such that hierarchical relationships (sub-documents) can be created during import. Check it out to learn more about data source options, sample command lines to import from each source, target options, and viewing import results.

5. Azure/azure-documentdb-python

This repo contains Python sample solutions showing common operations on Azure DocumentDB. You will learn how to use Azure DocumentDB to store and access data from a Python web application hosted on Azure and presumes that you have some prior experience using Python and Azure websites. Another good tutorial to follow up with is Python Flask Web Application Development with DocumentDB, where you will build a simple voting application that allows you to vote for a poll using Python against DocumentDB.

6. Azure/azure-documentdb-node-q

This repo has DocumentDB Node.js Q promises wrapper. If you don’t know anything about Q promises, read Promises in Javascript With Q. The repo project provides a “Hello world example code using Q promises” that makes it very easy to interact with Azure DocumentDB. You will seriously witness here that DocumentDB is built with a deep commitment to the JSON and JavaScript. This approach of “JavaScript as a modern day T-SQL” frees application developers from the complexities of type system mismatches and object-relational mapping technologies. The samples in this repo will help you get going with the JavaScript SDK to interact with the Azure DocumentDB service.

7. Azure/azure-documentdb-js-server

Before you head to this repo, maybe watch this video first – to get a brief introduction to Azure DocumentDB&;s server-side programming model. You will learn how DocumentDB’s language integrated, transactional execution of JavaScript lets developers write stored procedures, triggers and user defined functions (UDFs) natively in JavaScript. This allows developers to write application logic which can be shipped and executed directly on the database storage partitions.

8. Azure/azure-documentdb-java

This project provides a client library in Java that makes it easy to interact with Azure DocumentDB. In this repo, you will find a number of Java code samples working with DocumentDB. If you feel comfortable and up to it, you can build the entire Java web application using DocumentDB in just a few steps. For documentation please see the Microsoft Azure Java Developer Center and the JavaDocs.

9. Azure/azure-documentdb-hadoop

This repo provides a client library in Java that allows Microsoft Azure DocumentDB to act as an input source or output sink for Hadoop MapReduce, Hive and Pig jobs. This tutorial shows you how to run Apache Hive, Apache Pig, and Apache Hadoop MR jobs on Azure HDInsight with DocumentDB&039;s Hadoop connector. DocumentDB&039;s Hadoop connector allows DocumentDB to act as both a source and sink for Hive, Pig, and MapReduce jobs. This tutorial uses DocumentDB as both the data source and destination for Hadoop jobs, and shows how to do it. I recommend getting started by watching the following video, where we run through a Hive job using DocumentDB and HDInsight.

Hive, Pig, and MapReduce jobs. This tutorial uses DocumentDB as both the data source and destination for Hadoop jobs, and shows how to do it. I recommend getting started by watching the following video, where we run through a Hive job using DocumentDB and HDInsight.

10. Azure-Samples/documentdb-node-todo-app

Finally, this repo contains the source code for a complete application. The sample shows how to use the Microsoft Azure DocumentDB service to store and access data from a Node.js Express application hosted on Azure Websites.

For a complete end-to-end walk-through of creating this application, please read the full tutorial on the Azure documentation page. The code included in this sample is intended to get you going with a simple Node.js Express application that connects to Azure DocumentDB and showing how to interact with DocumentDB using the documentdb npm package. It is not intended to be a set of best practices on how to build scalable enterprise grade web applications, but it’s a great start.

@rimmanehme

P.S. If you’ve never even heard the word “NoSQL”, first of all – wow! You are at the end of the blog, and still paying attention. That’s awesome! Second, a quick way to learn about DocumentDB and see it in action is to follow these three steps:

Watch the two minute What is DocumentDB? video, which introduces the benefits of using DocumentDB.
Watch the three minute Create DocumentDB on Azure video, which highlights how to get started with DocumentDB by using the Azure Portal.
Visit the Query Playground, where you can walk through different activities to learn about the rich querying functionality available in DocumentDB. Then, head over to the Sandbox tab and run your own custom SQL queries and experiment with DocumentDB.

Quelle: Azure

New Developer Evanglist Charlotte Joins the OpenShift Team

Hey everyone, I’m Charlotte M. Ellett, and I joined the OpenShift team this year as a Developer Evangelist! I’m excited to do a lot of interesting stuff with OpenShift as a .NET user, and to show you how you can, too. I’ll write some about future blog posts that you can look forward to in the coming weeks, but first, a little introduction. I’m coming to this team as a game developer who sees a lot of potential in OpenShift containers for game makers and studios, big and small.
Quelle: OpenShift

Zenefits Is Laying Off Almost Half Its Employees

Matt Chase for BuzzFeed News

Zenefits will lay off 45% of its employees in an effort to slash costs, according to an internal memo this morning that was obtained by BuzzFeed News, a stark acknowledgment by the embattled human resources startup that its onetime expectations for growth were vastly inflated.

Roughly 430 workers will be cut, including 250 in Zenefits&; San Francisco headquarters and 150 in its office in Tempe, Arizona, leaving the company with about 500 employees, according to the memo and a person briefed on the matter. That&039;s about a third of the size it was a year ago, when it ousted its founding CEO, Parker Conrad, over revelations that it flouted state regulations for selling health insurance.

Thursday&039;s announcement, coming on the morning after the one-year anniversary of Conrad&039;s departure, is the third round of layoffs — and the largest — to hit the company since the crisis began.

Zenefits, which is both a software maker and a health insurance broker, will turn to staffing agencies for seasonal workers during the fall and winter months, a busy period when customers are enrolling in benefits. In addition, after upgrades in its software, Zenefits has less need for workers to help with tasks like customer enrollment, the person briefed on the matter said.

Jay Fulcher, the newly appointed CEO, informed employees of the layoffs this morning; the person briefed on the matter, insisting on anonymity, provided additional details. Fulcher took the helm a week ago from David Sacks, who succeeded Conrad as CEO and was forced to clean up the company&039;s regulatory mess.

“This isn&039;t how any CEO would choose to spend his first week on the job,” Fulcher said in the email to staff, “but I strongly believe these difficult decisions are essential in setting Zenefits up for success.”

A Zenefits spokesperson, Jessica Hoffman, said in an emailed statement to BuzzFeed News: “This has been planned for some time and is the result of a lot of hard work over the past year to improve our products and service and make the operations of the company more efficient.”

Even in a town built on hype, Zenefits turned heads for its rapid ascent to elite “unicorn” status, gaining a $4.5 billion valuation just after its second birthday. Conrad, its leader at the time, said the company was on track to reach $100 million in annual recurring revenue by the end of 2015, and he aggressively staffed up in anticipation of that milestone.

But the reality fell short. By the middle of 2016, annual recurring revenue was around $60 million, and Zenefits had slashed its valuation to $2 billion. More detailed financial information obtained by BuzzFeed News showed that Zenefits lost $100 million in the six months from February through July 2016, on revenue of $35.3 million. During that period, the company burned through $97.1 million of cash, a rate that put it on track to run out of cash by the end of 2017.

As a result of the latest layoffs, Hoffman said in the statement, “we have a dramatically improved cost structure, the ability to deliver a market-leading product roadmap that exceeds customer expectations, and enough cash to fund our operations for years to come.”

In part, the layoffs reflect recent improvements in Zenefits&039; software that have made the administration of benefits more automated, the person briefed on the matter said. Before a software overhaul led by Sacks last year, core Zenefits functions were heavily reliant on manual work by staff, leading to seemingly careless errors, BuzzFeed News has reported.

In the wake of Conrad&039;s departure last year, Zenefits shed hundreds of employees, including many on the sales team, through a combination of layoffs and an offer to take severance pay and quit. The latest layoffs fall more heavily on the operations department and other areas outside of sales, though they touch every department.

Fulcher said in the memo that Zenefits would consolidate its operations group in its Arizona office, while expanding its product and engineering groups in Vancouver and Bangalore to supplement its San Francisco team.

“The Bay Area is an expensive place to do business,” Hoffman said in the statement.

Fulcher, whose appointment was announced earlier this week, was formerly the CEO of Ooyala, a video tech startup that was acquired by the Australian telecom company Telstra.

Quelle: <a href="Zenefits Is Laying Off Almost Half Its Employees“>BuzzFeed

Here’s what the industry is getting wrong about APM

Recently, you may have seen news about recent consolidation in the application process management (APM) space. Some might see this as the industry making big bets on combining network management with application management.
But I see it differently. This is an area that has not yet yielded results because the personas using these tools have very different needs and expectations. Let me explain.
IBM has been in the application monitoring space for more than 20 years. I see a very different trend emerging. As applications get more complex in today’s cloud era, the data processed in the monitoring space is growing exponentially. To support hybrid applications and infrastructure, you must have solutions that provide useful visibility and insight into data performance with features such as predictive analytics and cognitive ChatBots.
Cognitive technologies are replacing labor-intensive techniques to help practitioners sort through data and prioritize the analytical options. The industry is beginning to see the true value of cognitive capabilities, including gathering historical application data, making predictions and fixing problems automatically.
The shift to hybrid applications and DevOps methodologies are also impacting who uses APM and they use it. With rapid innovation and continuous delivery becoming a priority of many digital businesses, the need for APM to be introduced in the early stages of development and testing phase has become a growing trend.
As a result, APM is “shifting left” to become an integral part of application development and testing—beyond its continued use as a monitoring tool post-launch. I’ve seen planning for monitoring and management being done before the first line of code is being written.  Smart. It is critical for APM solutions to adapt to DevOps needs and deliver value to DevOps users to be successful in the future.
Some companies may see value by investing in monitoring and transaction profiling for IT Operations teams. But to me the trends show that APM users seem most interested in DevOps and cognitive technologies. One key to making users happy is to automate problem prevention and avoiding “war rooms.” This is a huge improvement over traditional uses cases of speeding up problem resolution.
Not every vendor can provide the solutions, integrations and insight to help companies keep up with the future of APM. But IBM can. IBM APM offers a deep view your infrastructure, application and user-experience to identify, isolate, diagnose and automatically resolve problems before they start affecting your users. With advanced cognitive capabilities, you’ll uncover source code problems long before an issue creates consequences. And you can diagnose problems using correlated log search and analysis and predictive insights.
Don’t settle for old fashioned, siloed application management when you can jump on the spaceship to the future.  Check out what IBM APM has to offer here. And for more on the industry’s best expertise on APM and its future, join us at InterConnect 2017 this March.
The post Here’s what the industry is getting wrong about APM appeared first on news.
Quelle: Thoughts on Cloud