Web Frameworks

A web application framework (WAF) is a software framework that is designed to support the development of dynamic websites, web applications, web services and web resources. The framework aims to alleviate the overhead associated with common activities performed in web development. Most common web application frameworks are defined by specific subsets, including ASP.NET, JaveEE, Symfony, ColdFusion Language (CFML), Laravel, jQuery and AngularJS, or for the related languages, including .NET, PHP, JavaScript, Java, Perl, Python, Ruby, C++ and C.

Share tech news, updates, or what's on your mind.

Sign up to Post

Recently I spent hours debugging an issue in a Rails project where ActiveRecord was causing MySQL errors trying to create a User object of a class at the top level of a Single Table Inheritance model structure.  It turns out `.create` behaves differently based on the default value of the type field!
0
Free Tool: Site Down Detector
LVL 9
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

There is a huge demand for CodeIgniter among the PHP web developers due to its dynamic features and benefits these days. It is one of most popular and agile open source PHP framework for creating robust web applications in PHP web development field. 

​Any web applications developed based on CodeIgniter framework perform effectively and rapidly. It helps the programmers to build dynamic and custom web applications with an advanced technology platform by offering valuable set of aspects to write code from scratch.

Let us look out some of benefits and features of CodeIgniter.



codeigniter-features.png

Key features

Model-View-Controller Based System

CodeIgniter make use of the MVC system to find complex models and helps you to create application easily by using controllers and views. It assists the developer to build core libraries for the system and enables you to integrate your own existing scripts with database.

Error Handling

It offers simple user-friendly interfaces that help you to detect error functions throughout the application globally. In this way of approach, it provides instructions to error logging class that allows debugging messages to be saved as text files. It displays all PHP errors in your web application without missing inadequacy.

Form Validation

This feature helps you to write the code in a single line by using effective validation framework system. It generates codes without any errors and ensures …
0
In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
1
 
LVL 31

Author Comment

by:Marco Gasi
Comment Utility
Well, I'm happy. But I've just realized that today is still May: will this article partecipate to the contest for the Blade-Runner HD?
0
WHY MVC is the future technology...

As many of you know, MVC is Model,View,Controller pattern. Model View Controller pattern was invented in a Smalltalk context at Xerox in late 1970s.

Why is this buzz about MVC:
---------------------------
MVC is a more organized framework compared to webforms. All good developers for 20 years have been using MVC pattern in their architecture/programming and are aware of the benefits it provides. Micrsoft has released ASP.NET MVC based on the MVC pattern. It's a new shift in programming paradigm compared to ASP.NET webforms development.

MVC has 3 roles. Controller---->Model----->View.
All requests are served by the controller.  The ontroller gets the data and passes it to view. Without the controller, Model/View cannot function on their own.

Experienced developers using asp.net webforms may find it harder to adopt to MVC.  ASP.NET webforms is so easy -- just dragging and dropping controls with rich visual studio support can even create a application without writing a single line of code.  MVC will definetly be a superior technology compared to ASP.NET webforms.

MVC has the below advantages over Web forms.
--------------------------------------------
MVC is light as viewstate data is missing, thereby reducing the page size.
Test tools are embedded in the MVC project making easier for Test driven development.
MVC architecture support has clean URLs and has its own routing system.
MVC is based on existing .Net framework, …
4
 

Expert Comment

by:jabz ayuap
Comment Utility
MVC is a strong framework which could make any application or online application more stronger by using model-view-controller insight which could not be easily hack or damage by any hacker. That's why microsoft encourage most programmer to use this approach so that the future technology becomes more stronger and safe
0
Hi,
   When I first started to learn Hibernate I found it pretty easy, but integrating it with Spring took me around 2 weeks. Not pretty cool. So I came up with the idea of writing this article which guides you simply towards the integration.

NOTE : This article assumes that you've a basic knowledge in Spring so that I don't need to start from scratch.


Its a five step process :
1. Create a hibernate configuration file
2. Create a mapping file for each DB
3. Write the POJO class
4. Call the Session Factory to access DB using Hibernate
5. Controller to finish the course

1. Create a hibernate configuration file

It's pretty common to write a hibernate-cfg.xml file, but due to the extreme flexibility of Spring, we dont need to write them all. It is completely customised so easy to write. A Sample hibernate context file is shown below. The file itself a self explained one.

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
	xmlns:context="http://www.springframework.org/schema/context"
	xmlns:jee="http://www.springframework.org/schema/jee" xmlns:tx="http://www.springframework.org/schema/tx"
	xsi:schemaLocation="
			http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
			http://www.springframework.org/schema/context 

Open in new window

0
Hi,
     I've been learning Spring and Jersey for the past few months and to say in simple, i am pretty much impressed with these frameworks. Many developers feel it awkward to implement a RESTful Web Services with such a popular Web Application Frameworks Spring,Struts etc. I am going to explain you how to integrate a simple REST based Web-Service with Spring 3.

There are 5 steps involved in this.
1. Add Jersey Container in web.xml and the url pattern to be mapped.
2. Copy the needed JAR file.
3. Create a Resource class.
4. Add reference in spring-beans.xml
5. Access the service

NOTE : All the codes posted here are tested and works great.

1. Adding Jersey Container in web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
	id="WebApp_ID" version="2.5">
	<display-name>prj_name</display-name>
      <!-- Helps locate the applicationContext.xml file -->
	<context-param>
		<param-name>contextConfigLocation</param-name>
		<param-value>/WEB-INF/applicationContext-hibernate.xml,/WEB-INF/Erp-servlet.xml</param-value>
	</context-param>
	
	<listener>
		<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
	</listener>
	
	<servlet>
		

Open in new window

1
 
LVL 5

Author Comment

by:rajkumar_pb
Comment Utility
Thanks for such a warm welcome for me. I always like to help people by solving their technology related problems and i myself as a programmer, would love to explain a concept as simple as i can. I hope i'll publish much more articles tp help others understand.
0

Web Frameworks

A web application framework (WAF) is a software framework that is designed to support the development of dynamic websites, web applications, web services and web resources. The framework aims to alleviate the overhead associated with common activities performed in web development. Most common web application frameworks are defined by specific subsets, including ASP.NET, JaveEE, Symfony, ColdFusion Language (CFML), Laravel, jQuery and AngularJS, or for the related languages, including .NET, PHP, JavaScript, Java, Perl, Python, Ruby, C++ and C.

Top Experts In
Web Frameworks