Author: Sonu Malik
-
Android implementing Volley using Kotlin
Hey Guys, today I am going to tell you how to implement Network hits using Volley Library in Kotlin. Before getting into this tutorial, I tell you what Volley is. Android volley is a networking library was introduced to make networking calls much easier, faster without writing tons of code. By default all the volley […]
-
Some awesome Swift Libraries
Awesome Swift A curated list of awesome Swift frameworks, libraries and software. Inspired by awesome-swift UI Eureka – Elegant iOS Forms in pure Swift. XLActionController – Fully customizable and extensible action sheet controller written in Swift. FlourishUI – Framework for models, colour extensions and buttons. SwiftColors – HEX colour handling as an extension for UIColor. FontAwesome.swift – Use FontAwesome in your […]
-
File Structure in Meteor App
The four basic types of directories that must be defined inside any Meteor App are /client,/server, /public and /lib. These directories are special and when it comes to coding, Meteor has few rules: Code inside /server directory only runs on the server. Code inside /client directory only runs on the client. Everything else runs on […]
-
Allow and Deny in Meteor for Security
Meteor’s security system allows us to control database modification without having to define Methods every time we want to make changes. We didn’t really need to create new Methods for updating and deleting data in database. We just needed to check if the user had permission to do these actions, and this was made easy […]
-
Hapijs – views
There are two ways for rendering a view by using reply.view()interface, or by using view handler. – reply.view() [cc lang=”javascript”]server.route({ method: ‘GET’, path: ‘/’, handler: function (request, reply) { reply.view(‘index’); } });[/cc] if you want to pass context to reply.view(), pass an object as the second parameter, for example: [cc lang=”javascript”]server.route({ method: ‘GET’, path: […]
-
How to install Meteor on your System
Meteor’s install process is relatively simple and you can run it in less than five minutes. To begin with, if you’re using Mac OS or Linux you can install Meteor by running this command in Terminal Window. curl https://install.meteor.com | sh If you are running Windows, download .exe file from below link. https://install.meteor.com/windows or, refer […]
-
Build Your First HTTP Server in NodeJS
In this tutorial, we will be talking about how we can set up a simple NodeJS HTTP server with a beginner’s perspective. NodeJS is a fantastic candidate for creating web servers which are light weight and can handle a very good volume of requests. NodeJS is shipped with several core modules out of which we […]
-
Hapijs – Adding Routes in HapiJs
In this blog, we will learn how to Adding routes in Hapi. Steps. – Define the path. – Define the method. – Define the handler. let’s see an example of it [cc lang=”javascript”] var Hapi = require(‘hapi’); var server = new Hapi.Server(); server.connection({ port: 3000 }); server.route({ method: ‘GET’, // define the method path: ‘/’, […]