Skip to main content

Posts

Showing posts from January, 2014

CRUD Operations on MongoDB ( Insertion, Udpation, Deletion and Retrieval)

Mongo DB , as I have explained in one of my previous post( What is MonGODB ), is a Non- Relational Document Oriented Database. Consider, an Relational database like MYSQL, when we want to perform operations on MySQL DB, we have a query language named SQL. But in MongoDB, we don’t have another query language to perform these operations. For every operation, there exists a programming language API, that is used to perform the operations. So, Basically there are four operations that can be performed on a database known as(CRUD operations)     a)       Insertion     b)       Getting data from database     c)        Updating data in database     d)       Removing data Before moving forward lets just get familiar with few terms:     a)       Document : its like a record/ row in mysql database. But here it is a json object) For example :    { “name” : “ankit” , age : 10 }     b)       Collection : It stores the documents in it. i.e. a collection can have ma

Login with Facebook Account PHP Code

Hello All. In the previous post, we have explained the Login with Google.. This post have Complete Code for Login / Sign In with Facebook Account for PHP Code As you all know, FB is as popular as Google, so Login With Facebook is also a very important par of a website, Below is the detailed explanation for complete procedure starting from creating  a  Facebook app to getting the complete details of user logged in . Download Source Code Live Demo Starting is with create an APP for your site . Note : You should log in to your Facebook account before moving ahead. Go To https://developers.facebook.com/ Create an APP using the menu  APP appearing on developers toolbar on this page     The Following popup appears  Fill in the details and CREATE APP After this the APP dashboard appears . The dashboard has the App Id Though the app id is the only required field for login , in backend the process the URLs ie the domain url assigned to APP and th

ORCAM - Blind can read too.!!

ORCAM: The technology that was developed mainly with the aim – to help to help the visually impaired and blind regain the functionalities that were lost. Yeah. So now even visually impaired guys can get to know even the smallest written things just by pointing towards them, like the reading the book. Yes. Even those who are completely blind, can even read a book using ORCAM. SO what actually is ORCAM.????? A visual system with human like performance to help visually impaired people Here is a look towards ORCAM-See for yourself Search Results It is a simple device with a camera and earphone   that fits in the simple glasses   and uses the Text-to-speech technology to read the objects and sends the user in the voice format with the help of the earphone. The   OrCam device is able to identify thousands of objects, including the faces of loved ones, dogs, buses, newspaper text and store signs, all with the point of the finger. Its v

5 Most Common PHP(WAMP Server) Configuration Issues

Top 5 Configuration issues with PHP (WAMP Server)                                       Note : Please make sure to backup the configuration file before making any change to any  file as any wrong change will stop the server from running.   Also it is necessary to restart the wamp server after editing any config file, for changes to take effect. a) IIS and WAMP on Same server(system) This is the most common issue that many web developers needs to face. Not only with IIS , any service that uses Apache can be problematic if WAMP is running on that system. What actually concept is : Apache Server, by default runs on port 80 But if two services runs Apache(Say WAMP Server and IIS) then only 1 service(IIS) will be able to run Apache as only one service can run on single port. The result of this, WAMP Stopped working. What to do now??? Simple! Tell the WAMP to change the port for APache from 80 to say 81. This can be done by editing your httpd.conf file(located in "