What is ddp protocol | Introduction to ddp protocol

ddp-meteorjs

DDP is a protocol which is vastly used in a meteor. ddp protocol is highly recommended that before starting this step let’s get ourselves familiar with Meteor through this documentation.

ddp protocol was originally developed by meteor team, but there is nothing in it i.e Meteor specific. It can work with any database, framework, or programming language, and it can work on servers, clients, and mobile devices.

It is somewhat REST, but for WebSockets. It may use sock js or WebSocket protocol as a lower-level transport. Protocol explicate some guidelines for communication between client and server.

Read More

Use uploadfs and gridfs with meteor + angular | Simple steps for image upload in meteor + angular

uploadfs

 we are going to discuss image or file upload in meteor with angular. image uploading is easy in the meteor. we will use uploadfs for image uploading. Uploadfs manage all things like file uploading, downloading, storing and copying etc. Uploadfs also use for file or image synchronization. we will use gridFS storage adapter. we can also crop images and set the size of any image. we will create a simple collection for file or image upload. Before start meteor + angular, we should have knowledge of angular.

steps for upload images

1- add uploadFS by run following command. uploadFS use for manage files.

 we need to install uploadFS for manage uploading, downloading, set the size of images and crop images. uploadFS is a popular package for file or image uploading. 

    meteor add jalik:ufs

Read More

Introduction to meteor + angular | Steps for creating meteor app | Install and start with meteor + angular

Meteor.js

Meteor is a full-stack framework for developing real-time web-based and mobile application. Meteor is fully javaScript framework i.e. when we create the application with meteor + angular then we use javaScript for both front-end and back-end. Using meteor, we can create both web and mobile application with a single code, we don’t need to write code separately for mobile application and web application.

We can easily build code for the mobile application. we can use meteor with angular (angular 1 and angular 2) and  react.js. For mobile, we use meteor and Ionic for developing a hybrid mobile application. The hybrid app means we write a code once and use it for android, ios, and windows.

Meteor is fully reactive means when we change the value from the database it changes the value of corresponding data in view pages without refreshing or reloading the page.

Read More