Monday, September 24, 2018

Setting up Your PyMongo Environment

This article was originally published on MongoDB. Thank you for supporting the partners who make SitePoint possible.

In this article, we'll introduce developers to programming MongoDB using the Python programming language. PyMongo is the name of the client library (in MongoDB speak we refer to it as a "driver") we use to interact with the MongoDB Server.

To get started we need to install the toolchain used by a typical MongoDB Python developer.

Installing m

First up is m. Hard to find online unless your search for "MongoDB m", m is a tool to manage and use multiple installations of the MongoDB Server in parallel. It is an invaluable tool if you want to try out the latest and greatest beta version but still continue mainline development on our current stable release.

The easiest way to install m is with npm the Node.js package manager (which it turns out is not just for Node.js).

$ sudo npm install -g m
Password:******
/usr/local/bin/m -> /usr/local/lib/node_modules/m/bin/m
+ m@1.4.1
updated 1 package in 2.361s
$

If you can’t or don’t want to use npm, you can download and install directly from the GitHub repo. See the README there for details.

For today we will use m to install the current stable production version (4.0.2 at the time of writing).

We run the stable command to achieve this.

The post Setting up Your PyMongo Environment appeared first on SitePoint.


by Joe Drumgoole via SitePoint

Render Text and Shapes on Images in PHP

How to Build a Login UI with Angular and Material Design

9 Deadly Graphic Design Sins That Make You Look Unprofessional [Infographic]

Do you handle the graphic design for your business or social media updates? Want to make sure you’re creating the right impression with potential customers and audiences? The team at Digital Marketing Philippines shares the graphic design mistakes to avoid in this infographic.

[ This is a content summary only. Visit our website https://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Web Desk via Digital Information World

How to Create Customized Reports in Facebook Ads Manager

Need to get a better grip on your Facebook ads’ performance? Do you know which metrics in Facebook Ads Manager to monitor? In this article, you’ll discover how to set up a Facebook Ads Manager report that quickly reveals which ads are working well and which you need to adjust. Why On-Going Analysis of Your [...]

The post How to Create Customized Reports in Facebook Ads Manager appeared first on Social Media Examiner.


by Charlie Lawrance via Social Media Examiner

How to Quit Your Job Without Burning Bridges [INFOGRAPHIC]

Over the course of your career, there will come a time when you have to quit your job and move on. It's not an easy process - get it wrong and you could end up damaging your reputation. Get it right and you could have a network of contacts for life. So how do you quit your job properly? This...

[ This is a content summary only. Visit our website https://ift.tt/1b4YgHQ for full links, other content, and more! ]

by Web Desk via Digital Information World

Refactoring UI: The Book

Clean Landing Page with great testimonials and tidbits for the upcoming Refactoring UI book by Adam Wathan and Steve Schoger.

Full Review | Direct Link


by Rob Hope @robhope via One Page Love