July 26, 2016 7:50 am

DigitalOcean India Hosting is available on Cloudways


DigitalOcean India Hosting is available on Cloudways
Cloudways, a Managed Cloud Hosting Platform is growing in the web market at an agile rate. Recently, Cloudways has announced its integration of DigitalOcean data center located in Bangalore (Bengaluru), India. DigitalOcean, being one of the four cloud providers on Cloudways, has proved itself as an amazing cloud service for users across the world.

[ Read More ]



July 13, 2016 5:09 pm

Creating PDFs from HTML and CSS with PHP and Dompdf


Creating PDFs from HTML and CSS with PHP and Dompdf
In this tutorial, we are going to show you how to show the user dynamically-generated PDFs from your web application that relies on PHP. We are going to use a third-party library called Dompdf that enables us to create PDFs and save them to the server or directly display them to users using only HTML and CSS.

[ Read More ]



June 30, 2016 1:38 am

An introduction to Twig templating – Creating a Sentiment Analysis app


An introduction to Twig templating - Creating a Sentiment Analysis app
We will be building a simple app which takes from the user the id/name of a Facebook page (the name written in the URL when visiting a Facebook page) and shows some statistics related to the sentiment of the last 100 posts of that Facebook page. It shows whether the page is positive, negative or neutral, how many of the last one hundred posts are considered positive, negative or neutral and it pinpoint the total distribution of positivity, negativity and neutrality in those posts.

[ Read More ]



June 30, 2016 1:34 am

An introduction to sentiment analysis with phpInsight – Creating a Sentiment Analysis app


An introduction to sentiment analysis with phpInsight - Creating a Sentiment Analysis app
We will be building a simple app which takes from the user the id/name of a Facebook page (the name written in the URL when visiting a Facebook page) and shows some statistics related to the sentiment of the last 100 posts of that Facebook page. It shows whether the page is positive, negative or neutral, how many of the last one hundred posts are considered positive, negative or neutral and it pinpoint the total distribution of positivity, negativity and neutrality in those posts.

[ Read More ]



June 30, 2016 1:31 am

An introduction to Facebook’s PHP SDK- Creating a Sentiment Analysis app


An introduction to Facebook’s PHP SDK- Creating a Sentiment Analysis app
We will be building a simple app which takes from the user the id/name of a Facebook page (the name written in the URL when visiting a Facebook page) and shows some statistics related to the sentiment of the last 100 posts of that Facebook page. It shows whether the page is positive, negative or neutral, how many of the last one hundred posts are considered positive, negative or neutral and it pinpoint the total distribution of positivity, negativity and neutrality in those posts.

[ Read More ]



June 30, 2016 12:03 am

Creating a service which converts images to ASCII in PHP


Creating a service which converts images to ASCII in PHP
Have you ever wanted to send, display or use colored ASCII versions of real images? Well, it turns out this is not something very hard to achieve with PHP. In this tutorial, we are going to create a simple class which has the capabilities to convert all kinds of URLs to jpg/gif/png images to ASCII and show the ASCII in dimensions specified by the user (we shall resize the image to the specified by the user dimensions before converting it to ASCII). Furthermore, we will build a simple web interface where users can give URLs to images and their desired dimensions and see the ASCII output as well as the HTML code that they can use to add the ASCII elsewhere.

[ Read More ]



June 21, 2016 11:33 am

Making the most of the Google Maps API – Marking a path to a location


Making the most of the Google Maps API – Marking a path to a location
Our app takes advantage of a JSON file containing the different bus lines and arrays of geographic points, the combination of which forms the route of the busses. A part of the array with coordinate points looks like this:

[ Read More ]