All posts by Dr. Yoram Kornatzky

Back to blog home page

Making a Node.js Project into an NPM Package

Posted by on Jan 05, 2016

We recently published an NPM package, backand-hosting-s3, intended to sync a local project folder to Backand AWS S3 bucket. This bucket serves our users as a static web site for their AngularJS projects. The package is to be used in GulpJS files and in the forthcoming Backand CLI (more on this soon).
After completing development, while trying to publish the package, we encountered a few salient holes in the vast amount of guides and articles.

Below we provide some instructions on these points that will hopefully make your life easier when trying to publish an NPM package.

Continue reading

Back to blog home page

Functional Testing with Mocha & Chai

Posted by on Aug 26, 2015

Full Stack JavaScript Code

In full stack JavaScript development involving JavaScript on either or both the client-side and the server-side, we would like to test function input-output behavior. In its simplest form, function input-output behavior specifies the output of the function in terms of its input.

Continue reading

Back to blog home page

Using Backand with PHP

Posted by on Aug 19, 2015

PHP is one of the most common server-side programming languages, as evidenced by the popularity of WordPress and MediaWiki, for example.

Backand provides a Backend as a Service (BaaS) by automatically constructing a REST API for a database schema specified as a JSON. It is natural to interact with your Backand data from PHP through the Backand REST API.

Continue reading

Back to blog home page

Detailed PhoneGap Goodies for Angular – Part 2

Posted by on Dec 17, 2014

In the first part of this blog series we set the stage for PhoneGap and AngularJS cross-platform development.  In this second part of the three part series we will get more detailed with the code.  We dig in deeper and go over directives, views, utilities, services and so much more.  Enjoy this second gift of holiday goodies for your coding pleasure!

Continue reading

Back to blog home page

PhoneGap Goodies for Angular – Part One of Our Holiday Gift to You

Posted by on Dec 10, 2014

This holiday season we would like to share with you some of the work we have done, this is part one of a three part series, coding apps with PhoneGap and AngularJS for cross-platform development.  These tips will help you avoid common pitfalls in your mobile application development.  We will spread more good cheer in a follow-up blog post with more detailed code snippets (including ones for directives, views, etc.) for PhoneGap and Angular.  Check back soon so you don’t miss out on these holiday goodies.

Continue reading

Back to blog home page

Constructing a Dashboard with AngularJS

Posted by on Oct 23, 2014

What is a Dashboard?

A dashboard consists of a toolbar and a collection of panels presenting information in tables, charts and grids.  Making different selections and entering filtering values on the toolbar, such as selecting date ranges, causes the content of the panels to change. AngularJS has a collection of features that facilitate a streamlined construction of a dashboard.

Continue reading

Back to blog home page

Mockup a Web Application with Randomness

Posted by on Sep 25, 2014

Mockup

Often during a web development project, one has to create a mockup of a web application that consists of multiple screens and multiple related panels in each screen. This has to be done without a server-side. The intention is to give the project owner a good sense of the behavior of the app and to demonstrate the app to potential users.

Continue reading

Back to blog home page

Testing Two-Way Data Binding in AngularJS

Posted by on Aug 28, 2014

Two-way data binding is one of the strongest capabilities of AngularJS.

Testing Two-Way Data Binding

Once you accumulate controllers and directives you can then begin to use various libraries such as High Charts. You will then need to test that two-way data binding works across all these constructions.

Continue reading

Back to blog home page

AngularJS with Slim PHP Micro Framework

Posted by on Aug 21, 2014

AngularJS is a popular front-end framework that can be used with many server-side technologies. In many AngularJS web applications, each web page is really a single-page application (SPA), so the role of the server-side is really an API consisting of a set of web services to interact with the server-side databases.

Continue reading