4
Commands

  • Remember, mongoDB is case sensitive.
  • You can view the databases by the command

>show dbs



  • So we can see we have these many available databases along with their corresponding sizes.
  • If I want to switch to some other database, then we can use the command
>use database_name

  • The good thing about mongoDB is that you don’t have to explicitly create any database as we used to do in SQL.


  • If you want to see the current database, then use the command
 >db


















Turning on the server

  • Its time to start the server
  • Go inside the bin folder and double click the mongod.exe file.
  • It will start the mongoDB server.


 


  • It will look something like this:-


  • Now click the mongo.exe file to open the mongo client shell.




  • The mongo client shell will look like this :-




  • Note: - Always first run the mongo server then start the mongo client shell, if you do reverse, then mongo client shell will not start.

  • Sometimes the mongoDB shell doesnt start. So we can try using 
mongod --repair









2
 Installing mongoDB on windows...




  • After unzipping the downloaded mongoDB file, the you will get the following:


  • When you go inside it, the bin folder contains all the executable.





  • You can put the folder “mongoDB” at anyplace wherever you want, but in local disc c, is suggested by mongoDB documentation.
  • Now, Create a new folder “data” at the same location where, mongoDB folder is present (here, it is local disc c).


  • Inside this folder, create another folder called “db”.



  • This is the place where the data from mongoDB instance is going to stay.











INTRODUCTION

  • MongoDB is an open source, document-oriented database designed to provide high performace, high availability & high scalibility. 
  • Instead of storing the data in tables and rows as we do with a relational database, in MongoDB we use JSON-like documents with dynamic schemas to form and manipulate data.
  • It is a very new technology and developed in 2009 but it is achieving active development since it was formed.
  • NoSQL databases are in considerations of the web developers and mongoDB is one of them.





5 Generating the EMULATOR...
  

     
  • There will two icons available named, “Android Virtual Device Manager” and “Android SDK Manager” as shown below.

     

  • Click on Android Virtual Device Manager.
    Now we need visible platform, on which we can run our Android  apk files. So, for that we will generate an EMULATOR which is nothing but some smartphone like Nexus 7.And when we will run some Android program, we will see the output on the screen of this EMULATOR.
  • So, the following window will pop-up.




  • Click on "New" to open the following window.



  • The selection of Device is basically depends on the processor speed. If your processor is struggling in setting up the emulator of Nexus 7 or some other higher device, then go for so lower version. In the end you just have to implement Android irrespective of the device you have chosen.
  • Keep the RAM less around 512.
  • Now, after that, you will be back to the previous window.
  • Select your device, and click start. As shown below:-




  • After that, click "Launch" in the following window.


  • Then you will see the following windows:-





  • So, your EMULATOR is now running.
















4 Download Android ADT...


  • Download Android ADT by clicking on the following link 
  • Now, look for the heading, “Download the ADT Plugin”
  • Copy the link as shown above and open Eclipse.
  • Now, click on HELP and then go to Install New Software.

  • The following window will pop up and copy that link into the text box of this window.



  • After clicking ADD, an “Add Repository”  window will pop up. Just type some name and paste the link again, in the Location text field.


  • Click OK.
  • After some pending, you will see the following:-
           

  • Check “Developer Tools” and "NDK plugins" option and hit NEXT.
  • After completion, click next again in the following window.
 

  • Then following window will pop-up

  • You will see the following window

  • So, you will have to restart Eclipse. And when you restart it, you have to set the path of your SDK folder. Because it will ask you for that. If it doesn’t ask, then you can do it manually also, by going to Windows>Preferences> 


  • After clicking the ANDROID tab as shown above, just click on browse and set the location of SDK.














 3 Download SDK...
    
  • After downloading, Open the folder and click the “SDK Manager” icon.

  • In the SDK Manager window, check all the packages and install them. It may take some time but it happens.





























2 Download Eclipse IDE...
  • Download Eclipse IDE (Integrated Development Environment) which makes the development of programs a lot easier.
  • And you will see this image


  • Download the option "Eclipse IDE for JAVA Developers" along with selecting the OS and the type of OS (32-bit or 64-bit).
  • After this, install eclipse in your computer. 















1 Download Java....

  • Click on the normal JAVA icon  (JDK)7u45. You can see more  latest versions.
  • You may see something like this inside the window:-

  • After clicking it, just accept the license agreement. (If you have some free time, read the agreement). Just below it, you will get a list of operating systems, so select your operating system and download the software.














Play Station 4...

  • There can be no doubt, the PlayStation 4 is a shiny piece of machinery.

  • The first thing that strikes you is how incredibly small it is.Measuring only about a foot square and 2 inches high, the PlayStation 4 will not take up a huge footprint, especially if you use the bracket which allows you to rest the PS4 on its side.

  • Easy access to the front 2 USB inputs while making the cables in the back hidden from view. In the back is the input for the AC cable, which thankfully does not require a big brick transformer, as well as an Ethernet input and the connector for the optional PlayStation Camera.

  • The wire for the camera is inexplicably heavy gauge again, so you will have some trouble wrestling it into the right position just as you did with the PlayStation Eye.

  • A single HDMI and an optical audio output round out the connections available.










BENDABLE PHONES...

  • Say goodbye to cracked smartphone displays and bulky pockets. 

  • Your future smartphone may be able to twist, bend and fold in half– at least that’s what Samsung has in mind.

  • The Korea-based gadget maker recently revealed that it plans to launch smartphones with bendable displays in 2014, followed by fully fold-able phones in 2015.

  • Samsung is also ramping up the pixel count in its smartphone displays. Meaning we could see smartphone displays with resolutions of 3840 x 2160.




GOOGLE FIBER...


  • Google Fiber is an Internet and television service provided by Google itself, and plans range from 5Mbps all the way to a blistering fast 1Gbps (or 1,000Mbps).

  • The average internet speed in US is around 7MB/s, but the efforts of Google Fiber will try to increase it till 1000MB/s which is 1GB/s.


      
  • 1080p movie can download in about five minutes – that’s incredibly impressive.


  • Currently, Kansas City (both Missouri and Kansas) and their surrounding suburbs are the only areas in the U.S. with Google Fiber up and running. 


  • However, Austin, Texas and Provo, Utah are officially on the list to get Fiber in the future. As for other cities, we don’t know what Google has planned for expanding their Fiber network, but we should expect more cities to receive it in the future.



TRANSPARENT PHONE...


  • A Taiwanese company claims to have developed a gen-next transparent mobile phone which it says will be in the market by the year end.
  • The company  has already begun marketing a transparent multi-touch phone. Its prototype uses a "Switchable Glass" technology.
  • That is a conductive Organic light-emitting diode (OLED) using liquid crystal molecules to display images, the 'Daily Mail' reported.

      
  • When the phone is in off mode, the molecules align to form a milky composition, but when switched on they re-align to form text, icons, and other images.
  • Electric current is carried through transparent wires.
  • The device still contains some parts that are not transparent, including a SD card and SIM card. The microphone, camera, and batteries are also visible, and will be hidden behind a dark glass cover when the model goes into production.