Skip to content

Saranya SWOT

CSRF Protection in Codeigniter

Discover CSRF Protection In Codeigniter

Reading Time: 2 minutes

CSRF protection

In this article, we will learn how to painlessly protect your CodeIgniter (pre 2.0) application against Cross-Site Request Forgery attacks.

CSRF is an inbuilt feature in Codeigniter. To enable CSRF protection you just need to enable it under the config file. Once it has been enabled all the forms will be secured.

Read More »Discover CSRF Protection In Codeigniter
laravel

Laravel Form for Beginner

Reading Time: 2 minutes

Laravel Form For Beginner

One of the very basic requirements of all online applications is that the user should be able to enter data. Web forms are the most commonly used methods for entering data into an application and so they are a fundamental thing that you need to get right.

Laravel is a framework that aims to make developing and maintaining web applications as easy as possible. One of the ways this is achieved is by having an excellent Form class that makes creating and interacting with forms extremely easy.

A lot of other frameworks seem to make working with forms much harder then they need to be. In my experience they are either too rigid or not comprehensive enough! If you are coming at this from a non-framework perspective, using a form builder might seem a little bit strange, but hopefully by the end of this tutorial you will be able to see the benefits.

Laravel produces HTML forms easily within seconds with blade template engine.
Read More »Laravel Form for Beginner

laravel

Query Scopes in laravel

Reading Time: < 1 minuteApplying conditions to queries gives you to power to retrieve and present filtered data in every imaginable manner. Some of these conditions will be used more than others, and Laravel provides a solution for cleanly packaging these conditions into easily readable and reusable statements, known as a scope. In this tutorial I’ll show you how to easily integrate scopes into your Laravel models.

Consider a filter that only retrieves completed list tasks. You could use the following where condition to retrieve those tasks:

Read More »Query Scopes in laravel

oops

OOPS Concepts in real life

Reading Time: 3 minutes

Oops concepts in real life

Objects:

It is considered to be an instance of class.It contains real values instead of variables.In real life we can consider an mobile company which manufacture mulitple models as instance to mobile.so here mobile models where each one has its unique characteristics acts as a object.Read More »OOPS Concepts in real life

java-tutorial

Serialization in java

Reading Time: 2 minutesSerialization in java provides a thing known as  object serialization.It means that an object can be represented as a sequence of bytes which includes object data as well as information about the object type and information of data stored in object.Classes ObjectInputStream and ObjectOutputStream are high level streams  which is defined for serializing and deserializing an object.Read More »Serialization in java