Welcome to Home.

Showing posts with label About Technologies. Show all posts
Showing posts with label About Technologies. Show all posts

Saturday, September 8, 2018

Top 5 PHP Frameworks | 2018 |


PHP: Hypertext Preprocessor is a server-side scripting language designed for Web development, but also used as a general-purpose programming language.PHP is ruling the web app development world and it is one of the best and most favoured server-side programming languages known for its simple to use feature. PHP is known for its plethora of frameworks that help PHP web app developers by providing them integrated modules, a platform for creating robust web applications, reusable components, and allowing them quick development of web applications.




PHP frameworks also provide developers a basic structure with some integrated modules for developing robust web applications quickly. These PHP frameworks provide coding standards and developer guidelines by standardising the process and stabilises the product. Have a look at statistics for websites using framework technologies: (Source: Builtwith)


1. Laravel

Laravel is one of the best and complete PHP framework created to quickly build web applications using the MVC architecture. Laravel is currently one of the most popular PHP frameworks, with a huge developer community.


It contains many specific packages, the lightweight Blade template engine, unit tests, ORM, a packaging system, RESTful controllers, and now Laravel is the only framework to introduce routing in an abstract way.

Queue management is also a feature which allows and handles background tasks and then logs activity for all developers while tasks are normally being performed on the frontend. Packages can be easily added with Laravel’s robust Composer built-in. It integrates with Gulp and Elixir so that all npm packets and bower packets can be called directly via ssh.

One of the best things that Laravel handles well is the NoSQL structures like MongoDB or Redis. It’s easy to get started with Laravel thanks to its complete documentation, popularity, and Laravel Udemy: the popular videos and tutorials to introduce PHP developers to Laravel.


                                 

2. Codeigniter

CodeIgniter is an ideal PHP framework for rapid web application development. It is light in weight and simple to use a framework, with a small user base that can be installed simply by downloading it directly to your host. No special command line or software installation is needed. Download all the associated files and you are ready to go.


Building full web applications is an easy task with its small learning curve and many user libraries. Speaking of development, Codeigniter’s extensive documentation, and its community is vast and very useful. CodeIgniter is supported by an academic university as well: the British Columbia Institute of Technology, which will help in making sure about its development and growth.

From the features point of view, Codeigniter provides many built-in libraries for unit testing, form validation, email, sessions, and much more! If you can not find the library you are looking for, it is also very easy to create your own library and share it with the developer community.





3. Symfony

Symfony has long been known as a very stable, powerful, well-researched and modular project. Symfony is supported by the French SensioLabs and has been developed by them and its developer community has made it a fantastic framework.

Symfony is used by many large corporates like the BBC and Open Source projects such as eZpublish and Drupal. Symfony has been written by designing and keeping its stability in mind in a very professional manner. Its documentation is vast and its developer community is equally vast. Building both of the two performance REST APIs, as well as completing web applications.





4. Yii

If you choose the Yii PHP framework you are giving a boost to the performance of your website because its performance is faster than other PHP frameworks because it largely uses the lazy loading technique. Yii is purely object-oriented, and it is based on the Do not Repeat Yourself(DRY) encoding concept, so it provides you with a clean, logical code base.


Yii is built into jQuery and comes with a set of AJAX features, and it implements an easy-to-use skinning and theme mechanism, so it can be a great choice for someone who comes from a background of frontend development. It also has a powerful class-code generator called Gii which facilitates object-oriented programming and rapid prototyping and provides a web-based interface that lets you interactively and generating the code you require.




5. CakePHP

CakePHP is an ideal PHP framework for beginners and quickly-growing commercial web applications. It comes with code generation and scaffolding functionality to speed up the web development process while bringing many packages to take care of some of the common features.


It’s having MVC conventions which help developers in guiding them in their development process. Configuration is also child’s play as it eliminates the need for complicated XML or YAML configuration files. Builds are quick and provides security features which includes ways to prevent CSRF, SQL Injection, XSS and tools required for validation of form.

CakePHP is in active development with good documentation and many support portals to get you started. Premium Support is also an option for developers who choose to use CakePHP by using the Cake Development Corporation.








Saturday, August 11, 2018

NETWORK TOPOLOGY AND IT'S TYPES




Network Topology is the schematic description of a network arrangement, connecting various nodes(sender and receiver) through lines of connection.Physical topology is the placement of the various components of a network (e.g., device location and cable installation), while logical topology illustrates how data flows within a network. Distances between nodes, physical interconnections, transmission rates, or signal types may differ between two different networks, yet their topologies may be identical. A network’s physical topology is a particular concern of the physical layer of the OSI model. Network topology can be used to define or describe the arrangement of various types of telecommunication networks, including command and control radio networks, industrial fieldbusses, and computer networks.
Examples of network typologies are found in local area networks (LAN), a common computer network installation. Any given node in the LAN has one or more physical links to other devices in the network; graphically mapping these links results in a geometric shape that can be used to describe the physical topology of the network. A wide variety of physical topologies have been used in LANs, including ring, bus, mesh and star. Conversely, mapping the data flow between the components determines the logical topology of the network. In comparison, Controller Area Networks, common in vehicles, are primarily distributed control system networks of one or more controllers interconnected with sensors and actuators over, invariably, a physical bus topology.

TYPES




BUS Topology

Bus topology is a network type in which every computer and network device is connected to single cable. When it has exactly two endpoints, then it is called Linear Bus topology.
Bus topology in computer networks

Features of Bus Topology

  1. It transmits data only in one direction.
  2. Every device is connected to a single cable

Advantages of Bus Topology

  1. It is cost effective.
  2. Cable required is least compared to other network topology.
  3. Used in small networks.
  4. It is easy to understand.
  5. Easy to expand joining two cables together.

Disadvantages of Bus Topology

  1. Cables fails then whole network fails.
  2. If network traffic is heavy or nodes are more the performance of the network decreases.
  3. Cable has a limited length.
  4. It is slower than the ring topology.



RING Topology

It is called ring topology because it forms a ring as each computer is connected to another computer, with the last one connected to the first. Exactly two neighbours for each device.
Ring topology in computer networks

Features of Ring Topology

  1. A number of repeaters are used for Ring topology with large number of nodes, because if someone wants to send some data to the last node in the ring topology with 100 nodes, then the data will have to pass through 99 nodes to reach the 100th node. Hence to prevent data loss repeaters are used in the network.
  2. The transmission is unidirectional, but it can be made bidirectional by having 2 connections between each Network Node, it is called Dual Ring Topology.
  3. In Dual Ring Topology, two ring networks are formed, and data flow is in opposite direction in them. Also, if one ring fails, the second ring can act as a backup, to keep the network up.
  4. Data is transferred in a sequential manner that is bit by bit. Data transmitted, has to pass through each node of the network, till the destination node.

Advantages of Ring Topology

  1. Transmitting network is not affected by high traffic or by adding more nodes, as only the nodes having tokens can transmit data.
  2. Cheap to install and expand

Disadvantages of Ring Topology

  1. Troubleshooting is difficult in ring topology.
  2. Adding or deleting the computers disturbs the network activity.
  3. Failure of one computer disturbs the whole network.



STAR Topology

In this type of topology all the computers are connected to a single hub through a cable. This hub is the central node and all others nodes are connected to the central node.

Features of Star Topology

  1. Every node has its own dedicated connection to the hub.
  2. Hub acts as a repeater for data flow.
  3. Can be used with twisted pair, Optical Fibre or coaxial cable.

Advantages of Star Topology

  1. Fast performance with few nodes and low network traffic.
  2. Hub can be upgraded easily.
  3. Easy to troubleshoot.
  4. Easy to setup and modify.
  5. Only that node is affected which has failed, rest of the nodes can work smoothly.

Disadvantages of Star Topology

  1. Cost of installation is high.
  2. Expensive to use.
  3. If the hub fails then the whole network is stopped because all the nodes depend on the hub.
  4. Performance is based on the hub that is it depends on its capacity



MESH Topology

It is a point-to-point connection to other nodes or devices. All the network nodes are connected to each other. Mesh has n(n-1)/2 physical channels to link n devices.
There are two techniques to transmit data over the Mesh topology, they are :
  1. Routing
  2. Flooding

MESH Topology: Routing

Star topology in computer networks
In routing, the nodes have a routing logic, as per the network requirements. Like routing logic to direct the data to reach the destination using the shortest distance. Or, routing logic which has information about the broken links, and it avoids those node etc. We can even have routing logic, to re-configure the failed nodes.

MESH Topology: Flooding

In flooding, the same data is transmitted to all the network nodes, hence no routing logic is required. The network is robust, and the its very unlikely to lose the data. But it leads to unwanted load over the network.
Mesh topology in computer networks

Types of Mesh Topology

  1. Partial Mesh Topology : In this topology some of the systems are connected in the same fashion as mesh topology but some devices are only connected to two or three devices.
  2. Full Mesh Topology : Each and every nodes or devices are connected to each other.

Features of Mesh Topology

  1. Fully connected.
  2. Robust.
  3. Not flexible.

Advantages of Mesh Topology

  1. Each connection can carry its own data load.
  2. It is robust.
  3. Fault is diagnosed easily.
  4. Provides security and privacy.

Disadvantages of Mesh Topology

  1. Installation and configuration is difficult.
  2. Cabling cost is more.
  3. Bulk wiring is required.

TREE Topology

It has a root node and all other nodes are connected to it forming a hierarchy. It is also called hierarchical topology. It should at least have three levels to the hierarchy.
Tree topology in computer networks

Features of Tree Topology

  1. Ideal if workstations are located in groups.
  2. Used in Wide Area Network.

Advantages of Tree Topology

  1. Extension of bus and star topologies.
  2. Expansion of nodes is possible and easy.
  3. Easily managed and maintained.
  4. Error detection is easily done.

Disadvantages of Tree Topology

  1. Heavily cabled.
  2. Costly.
  3. If more nodes are added maintenance is difficult.
  4. Central hub fails, network fails.



HYBRID Topology

It is two different types of topologies which is a mixture of two or more topologies. For example if in an office in one department ring topology is used and in another star topology is used, connecting these topologies will result in Hybrid Topology (ring topology and star topology).
Hybrid topology in computer networks

Features of Hybrid Topology

  1. It is a combination of two or topologies
  2. Inherits the advantages and disadvantages of the topologies included

Advantages of Hybrid Topology

  1. Reliable as Error detecting and trouble shooting is easy.
  2. Effective.
  3. Scalable as size can be increased easily.
  4. Flexible.

Disadvantages of Hybrid Topology

  1. Complex in design.
  2. Costly.