Shaping the great minds.

Sunday, 18 June 2017

How Do Websites Offering Free Services Make Money?

6/18/2017 02:51:00 am
Most free web services plan to make money by the following:

  • Advertising model - Know as much as possible about the user and bring targeted ads for example google adsense. and twitter

  • Freemium model - sell a free product and plan to convert some of them to a paid plan, very good example of it is linkedIn.

  • Limited period promotion - Start with the free product for a promotional initial period and plan to charge it later. For instance, 37 Signals provides free 30 day trial offer for most products and then charge if you use later. This is a tough thing to master these days, for example music apps like saavn.

  • Sponsorship model - If your service indirectly helps the government and/or major organizations you could ask them to sponsor your service. olx and quikr are earning through sponsorship model.
How Do Websites Offering Free Services Make Money?

  • Wikipedia model - You could get donations from your users. Many wordpress plugins, open source tools and Wikipedia do this. This could be the future of newspapers.

  • Gillette model - Printers and razors are sold less than cost, as they plan to make high margin from selling a complementary product (cartridge/blades). The printer or blade you purchased will turn worthless if you don't buy the super-high margin complementary products from the manufacturer. On the web, for instance, you could create a cloud based spreadhseet/wordprocessr that is free to edit/create documents, but charged money for exporting it as a file to the local machine. Or you could charge high for the iPhone app that can access the data natively.

  • Open Source Model - Sell the product for free and plan to make money on support, customization and installation. Most open source software follow this model.

  • Usage charge model - This is related to the freemium model. Give the product free for low usage, but charge when the user is exceeding the free limits (many storage applications such as Dropbox and google drive fall under this). 

  • Zynga model - Sell products through in-app purchases or to get forward in the game.

  • Credit card model - In this model, you make your product free for one side (consumers) and use the network effects to make the other side (merchants) pay. Facebook, Yelp and other online marketplaces are now getting on to the model.

  • Upsell/Cross-sell - Sell a free product & use that to promote a premium product in the same segment. For instance, If you run a finance website, you could give stock quotes free and sell premium analyst reports and financial planning tools.

  • Build a brand - Use the free service to get brownie points/good press and use the brand image to sell premium products (directly related or not) later.

  • Affiliate marketing - Signup for affiliate programs related to your service and convert your users to customers of your affiliates.

  • Sell it to Google - Build a big user base that might attract a big buyer such as Microsoft or Google, who might use the user base to sell their premium products/services. it is also knows as data selling.

Make your next venture a success - If none of the previous stuff works, you could run a free venture to build your personal brand/get popular and hope to get funding for your next venture.

Saturday, 3 June 2017

Send data to server database from Android Application. | server side connectivity in android | PHP | MySQL | Android | Free hosting for android

6/03/2017 10:03:00 pm
First of all, create account on That provides free sql server database and phpMyAdmin. then after create new hosting account using your cpanel. after that click on "Manage" link, under the Hosting account tab. by clicking on that you will redirect to admin panel of your hosting plan. now on that page, you will find out MySQL database field under database category. click on that and create new database. now go to the admin panel of your hosting plan and click on phpMyAdmin field under database category and enter into phpMyAdmin.

In PHP MyAdmin click on create new table and create database table.

Now download fileZilla from and run fileZilla application. and do 'quick connect' using host,username and password. After that open notepad and do copy-paste code given in below link.

you will get information about servername, username, password and dbname from your dashboard of admin panel. after that save that notepad document as .php file and upload it on public_html folder from filezilla(Drag and drop).

Now server side work is done. you can test service by putting hosting IP on URL tab of browser.
now create new android app on android studio to send data on server. copy code given in below link.

and paste it on java file of android activity from where you want to send the data. 
i.e just modify link on httppost.


Android App

Sunday, 19 March 2017

OpenStack installation only in 7 steps in Ubuntu 16.04 LTS using Devstack. - IAAS, Private Cloud, Devstack

3/19/2017 01:24:00 am
  • Openstack is a free and open-source software platform for cloud computing, mostly deployed as an infrastructure-as-a-service (IaaS).

  • The goals of the Openstack initiative are to support interoperability between cloud services and allow businesses to build Amazon-like cloud services in their own data centers.

  • It is often referred to in the media as "the Linux of the Cloud" and is compared to Eucalyptus and the Apache CloudStack project. Let's come to the point, How to install Openstack on ubuntu 16.04 LTS or on any other ubuntu version.

Steps To install OpenStack.

Install ubuntu with at least 2GB RAM and 100GB harddisk. And after installation open terminal by using ctrl + a/t  + T

Step 1: Now in terminal type ' sudo -i ' command, it will leads you to the root. now type command ' visudo '. it will open sudoers.tmp file. in that after 
' %sudo ALL=(ALL:ALL) ALL ' line write ' stack ALL=(ALL) ALL ' and save it by ctrl + x.

Step 2: now after making change on sudoers.tmp file, add new user in system by typing command ' add stack '.

Step 3: After creating user named stack. shut down the system and login into system as stack user. after that open terminal again and type command ' sudo apt-get install git ' it will install package installer into your system.

Step 4: After setting up git. fire command 
' git clone ' It will clone into devstack and download all the required package for openstack into your system.

Step 5: after that type command ' cd devstack' then ' cd samples '  and  ' cp local.conf ../ '. it will copy local.conf file at root folder  devstack. now fire ' cd ../ ' command. after that type ' nano local.conf ' command. it will open local.conf file into editor.


Step 6: In that file just define your local IP address like as shown in below image. and save the file by ctrl + x.

Step 7: Now fire command ' ./ '. it will start openstack installation. It will take up to 2 hrs. depends on internet connection speed.  after installation finish you can access openstack services by IP address. just write your IP address on url box and enjoy. the default ID is 'admin' and 'demo' and password is 'nomoresecret'.

Sunday, 12 March 2017

How to host your website for free and upload your SQL server database to server - godaddy, bigrock, somee

3/12/2017 12:46:00 am
What is web hosting?

Web hosting is place where you can store your website stuff like html, config or aspx file and also your website database.the term “web hosting” refers to the company that rent out their computer/servers to store your website (hence the word, host) and providing Internet connectivity so that other computers can access to the files on your website. so let's see how to do it for free.

How to do hosting for free?

As per your requirement hosting provider charge for the hosting service but some service provider provide service for free up to some limited amount of data. provides free hosting up to 150mb of data and support ASP, ASP.Net, MS Access, MS SQL database. Single third level domain. and Single addon web domain.

     1.Create account at and order your free hosting plan. 

Just visit and at bottom of  the page you will find out 'order now' option click on that and create account and order free plan by clicking on checkout button from Shopping cart page.

2. Define domain and Create website.

After checkout, in next window, you have to define your site domain name, site title and zone name as well as server OS. then click on create website. it will create one empty site. and that you can see under 'Websites' category. which resides under 'managed products' of 'User' category.


3. Upload your website with config file

Locate 'File manager' under your created website name, here you can upload every file of your project except your database file. that is .mdf file and resides in app_Data folder if you are using and also you can create folder if your project is divided into folders by clicking on 'new dir'.

To upload file click on 'upload' option and select files and click on Upload files.

4. Upload Database file.

To Create database go to User -> managed product ->ms sql ->Databases and in that click on 'create'.


After creating database, to upload your already created db file, select your newly created DB and go to the bottom of the page. you will find out attach Database link. click on that and upload database file that is .mdf file and log file that is .ldf file and click on upload.

5. Reset Connection string.

Click on database that you have just created and copy the connection string that is define in that page. now go to your config file of project that is under 'File manager' and click on edit text link of config file. now search for connectionString tag and paste new connection string in that. remove the old one.

Done. now you can run your project by domain name. and store data directly at server storage.

Saturday, 4 March 2017

Create and deploy Application using Google App Engine. -PAAS and IAAS

3/04/2017 03:28:00 am
Google App Engine is a cloud computing platform for developing and hosting web applications in Google-managed data centers. Applications are sandboxed and run across multiple servers. Google app engine provide platform as a service and infrastructure as a service for developers. just create application in eclipse and deploy it on app engine.
so let's get started!

  1. JDK.
  2. Eclipse 3.7 + Google Plugin for Eclipse.
  3. Google App Engine Java SDK
  4. Install Eclipse
1. Install google plugins for Eclipse.

2. Create new application project in eclipse.
In toolbox of eclipse, click on google icon or GDT pulldown and select 'new web application project.
now deselect Use GWT checkbox under Google sdks field. and link your GAE Java SDK via the “configure SDK” link.

 now click on finish.

3. Hello World
Check the project directory, nothing is new in it. it is same as android studio and normal java web project structure. you can do java coding in java file under 'src' folder, that is highlighted in below picture. 

The new part is appengine-web.xml file which is under 'war' folder. Google App Engine need this to run and deploy the application.

4. Run Application locally.
To run application locally, right click on project and go to run as option and select web application. now open browser and open http://localhost:8888/  here you can see all your projects. click on project name to see servlet of it.

5. Deploy it to Google app engine
Register an account on, and create an application ID for your web application.In this demonstration, I created an application ID, named “helloworld-160509”, and put it in appengine-web.xml

Now click on Click on GAE deploy button on the toolbar.
Sign in with your Google account and click on the Deploy button.If everything is fine, the hello world web application will be deployed and provide you the URL. to Access application like