Skip to main content

Posts

Picking A Mobile Technology Stack

There are many ways to create an app but we want to examining the importance and adoption level of different tools and tool-stacks to create a mobile application. The new mobile tec hnology stack includes everything from traditional technologies such as backup and data loss prevention to emerging application development platforms and management suites. Typically, every mobile app project requires consideration based on its own merits. If the apps are specialized enough to require Native iOS and Android/Java development skills, some portion of these can be made in-browser web apps optimized for mobile. Some of the following consideration get matters to design mobile application stack Front end and Services support Pick a technology solution that supports your front end (UI) and middleware needs. Most all mobile apps have a UI component and a services tier. Based on their origins, certain software tools tend to have strengths in one area vs another. ...

What exactly means MVW design pattern ?

What is a MVW framework? The abbreviation stands for 'Model - View - Whatever'.  Well there are many different JavaScript frameworks available , all invented for the same purpose. They all try to separate the presentation logic from the business logic where JavaScript holds the model and logic, and html the presentation layer. Quick overview : You can change the model without changing the view and vice-versa Unit testing is easy These are the core benefits of using such a framework. By separating presentation and business logic changes to the code are easier to implement and take less time. Another benefit is that code can be reused from a controller thus saving more time. Angularjs makes the code also shorter in comparison to other frameworks, which improves code stability. Less code means minor potential for bugs. For several years +AngularJS was closer to MVC (or rather one of its client-side variants), but over time and thanks to many refactorings...

How to pin Eclipse to the linux launcher?

First, create a .desktop file to eclipse: gedit ~/.local/share/applications/opt_eclipse.desktop Then, paste this inside (dont forget to edit Exec and Icon values): [Desktop Entry] Type=Application Name=Eclipse Comment=Eclipse Integrated Development Environment Icon=** something like /opt/eclipse/icon.xpm ** Exec= ** something like /opt/eclipse/eclipse ** Terminal=false Categories=Development;IDE;Java; StartupWMClass=Eclipse After that, open that folder with nautilus: nautilus ~/.local/share/applications If you want to use this launcher outside dash/launcher (ex: as a desktop launcher) you need to add execution permission by right clicking the file and choosing Properties -> Permissions -> Allow execution , or, via the command-line: chmod +x ~/.local/share/applications/opt_eclipse.desktop Finally drop opt_eclipse.desktop to launcher.

Sharding Methods For MongoDB

Sharding Introduction Sharding is a method for storing data across multiple machines. Sharding , or horizontal scaling , by contrast, divides the data set and distributes the data over multiple servers, or shards . Each shard is an independent database, and collectively, the shards make up a single logical database. Sharding in MongoDB MongoDB supports sharding through the configuration of a sharded clusters . Components in Sharded Cluster : Shard Query Routers Config Servers Shards store the data. To provide high availability and data consistency, in a production sharded cluster, each shard is a replica set . Query Routers , or mongos instances, interface with client applications and direct operations to the appropriate shard or shards. The query router processes and targets operations to shards and then returns results to the clients. A sharded cluster can contain more than one query router to divide the client request load. A client sends ...

MongoDb with PHP on Windows

MongoDb Installation Download MongoDB from official MongoDB website . Choose Windows 32 bits or 64 bits. In Windows Explorer, locate the downloaded MongoDB .msi file, which typically is located in the default Downloads folder. Double-click the .msi file. A set of screens will appear to guide you through the installation process. You may specify an installation directory if you choose the “Custom” installation option. These instructions assume that you have installed MongoDB to C:\mongodb . MongoDB is self-contained and does not have any other system dependencies. You can run MongoDB from any folder you choose. You may install MongoDB in any folder (e.g. D:\test\mongodb ). 1.Set up the MongoDB environment MongoDB requires a data directory to store all data. MongoDB’s default data directory path is \data\db . Create this folder using the following commands from a Command Prompt : md  \data\db You can specify an alternate path for data files using the --dbpath ...