The Software Programming Experience of a Tech Lead
» Coding Savvy FB Twitter Google

How to use Database ( MongoDb ) as session Handler PHP - 2016

By default PHP has an inbuilt session handler that stores session variable by saving session variables into a file. The native sessions just depend on writing a small cookie and file on the server. Database based session allows you to add security functionality to the session layer, Any performance lose or gain by putting your sessions in a database won't be noticeable for the vast majority of applications, however it's more secure if you put your sessions in the database, that being the most developers primary reason for doing so. Database-based sessions are also perfect in server farm environments because a user could visit each server in the course of their visit; file-based sessions would only be valid on that one server. But we can override PHP's built-in session handlers by using session_set_save_handler . When your app gets big and you start thinking of scaling Database based session makes things easier. MongoDB (from humongous) is a free and open-source cross-platform document-oriented database. You can read more about MongoDB at http://www.mongodb.org. Using MongoDb is a way of separating the session management database from the primary sever Database, It is well known that most PHP websites use MySQL as their primary database. I prefer not to let the session handler implementation affect the primary database performance. MongoDb can also store some special data format and an Object as a whole without any data loss.
How to use Database ( MongoDb ) as session Handler PHP

Amazon aws EC2 'Elastic Cloud' Setup with Ubuntu, PHP, Apache, Node.js, MySQL and PHPMyAdmin Installation

Amazon EC2 stands for Amazon Elastic Compute Cloud it is a Amazon web service (aws) that provides resizable compute capacity in the cloud. It will be really selfish of me not to share the benefits of this wonderful cloud platform. We are not only going to setup an EC2 Server instance but I will educate you on the benefits of this great cloud platform that comes almost free to developers, If you have been wasting your time with hosting companies this is your chance to save money and pay for just what you use. Amazon EC2 provides developers the tools to build failure resilient applications and isolate themselves from common failure scenarios. After reading this amazon aws tutorial You should know How to setup Amazon EC2 Instance , Install Apache , PHP, Node.js MySQL, PHPMyAdmin and lastly we are going to setup a website on the Instance. The good part is that Amazon give you the chance to start using this wonderful platform free for 12 months with 1GB RAM.
Amazon aws EC2 'Elastic Cloud' Setup with Ubuntu, PHP, Apache and Node.js Installation

How to Create Computer Based Assessment Test Interface with AngularJs

AngularJs is young powerful and efficient, It is a very good framework for javaScript design and a flexible client side framework it let you write less code and do more things. Read 5 Minutes Head-start on How to use AngularJs for web Design to know more about AngularJs, You can also read Real Time live data Graph Plotting Application with AngularJs and PHP (Google Analytics, Adsense Style) to see how you can use this powerful MVC library to create a real time graph for your websites and other web based applications. The point off this tutorial is to design a simple user interface assessment page.
How to Create Computer Based Assessment Test Interface with AngularJs

Don't Even Think of Starting a News Blog Without Reading THIS first!

Using the WayBackMachine I was able to preview the progress of an old blog of mine and it brought back some memories, it reminds me of the Search Engine Optimization practices and tricks that I used to get the site to Alexa top 100 most visited website in some countries in just a year, Don't be surprised news website have great traffic potential but only if you know them. The top secret to this huge traffic and breakthrough is through include experimenting with the templates, news content arrangement page, categories, titles, Font Sizes, Images.You need to know this 10 thing before you write your very first content on your blog.
Top 10 Search Engine Practice to get News Website PR5

How to Paginate and Sort Data with PHP - Mailbox Design Style

Pagination is a crucial part of web development, It helps to save the loading time and also keeps data organized. PHP as a dynamic programming language can be used to paginate and sort data in a webpage with just few lines of codes. In this tutorial we are going to design a mailbox style design with CSS3 and use PHP to paginate and sort the messages coming from the MySQL database. Sorting of data can be a tutorial on it's own but in combination with pagination will result in a powerful dynamic and organized web design interface.
How to design mobile responsive website with HTML5, CSS3 and JQuery in a minute

Top 5 Tricks to Perform Redirection with PHP

A server side redirect is a method of URL redirection using an HTTP status code (e.g., 301 Moved Permanently, 303 See Other and 307 Temporary Redirect) issued by a web server in response to a request for a particular URL. The result is to redirect user's web browser to another web page with a different URL. Redirection in PHP has lots of approaches, to be more specific about it, everything boils down to what you want. We are going to discuss How to redirect visitors using PHP programming language. This are the 5 most common ways to perform redirection on your website with PHP. We are going to see how we can use JavaScript also .htaccess file for redirection.
Top 5 Most Secured Ways Perform Redirection with PHP

Top 20 Things Web Developers Should Master for an Interview.

Have you ever wondered what question might be ask in an interview? As a developer you need to get yourself familier with some terms used in web development. Here are top most asked question in an interview, This is extracted from a Quora.com answer and it is written by developer from all angles around the world. Hope it help someone.
 Top 20 Things Web Developers Should Master for an Interview.

Whats New in PHP7, How dose it compares to HHVM Performance and Features?

I upgraded one of my server to PHP7 to see how my application will work with it. But personally my design has been about MVC. MVC (Model-View-Controller) is a software design pattern built around the interconnection of three main component types, in a programming language such as PHP, often with a strong focus on object-oriented programming (OOP) software paradigms. On the Other hand is Hip Hop Virtual Machine HHVM, HHVM is a virtual machine for running PHP code as well as for running the new programming language HACK it is a virtual machine based on JIT (Just-In-Time) compilation.HHVM is built by Facebook which I know will work better with the MVC design pattern all I have to do is make sure that HHVN handles the business logic of the web applications. In this post, I am going to explain my experience in running PHP7 on my server and how it compares to HHVM performance.

How do I start a blog and what are the best blogging platforms available?

Blogging is a very interesting thing to do, To get a glimpse of why you need to blog read this article on 20 Reasons Why You Need to Start Blogging , Running a blog is very easy just make sure you are blogging on what you are passionate about. The best way to start a blog is to make sure that you are ready and a willing to start blogging no matter what it may cost you, though it somehow free but it will cost you time and some practices to get started before you become a professional blogger. One of the decisions starters finds hard to take is choosing a blogging platform to start with and how to get traffic to their new blog. on how to get free traffic for your new blog read How to Get More Web Traffic to Your Website . In this article, we are going to focus on what you need to start blogging and how to choose the best blogging platforms that will host your blog.
How do I start a blog and what are the best blogging platforms available?

Must-have tools and services for Front-End Web Development

To have an efficient front-end development environment require more than just the right skills, It needs to be with the right tools. This web development tools make our work easier every day. As a for a web developer/ web designer you can not help but have this tools and service readily available for every project. This tools are what add grease to the wheels of your development process and make things run smoothly without unnecessary rough patches. I have taken my time to look around the web and search for tools that are needed to have more front-end development environment on your PC and here they are base on developers remarks. It not necessary for you to have more than one tool that performs a single task but it your choice to determine the tool that suit your taste.
Must have tool and services for Front-End Web Development