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

How to do server side pagination for a Angular with Play framework application ?

Looking for a very good example with source code

Please kindly advise.
CompTIA Cloud+
LVL 12
CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

is there any free open source gui for modsec managment and monitoring?
Can the "Phaser" game dev JavaScript framework be demo-ed in JSFiddle?

My attempt to run the Phaser game framework inside JSFiddle

reference material:

What is Phaser? (Phaser website)

Phaser "Hello World" - attempting to run this in JSFiddle

Screenshot of what I see when I run the example on my local Apache web server:

phaser on apache web server
Screenshot of what I see when I try to run the same demo in JSFiddle:

phaser hello world in jsfiddle
I was making a spring web application. Where there are lot of handlers for GET request etc.
One thing came to my mind -
Suppose I make a GET request from my chrome browser from a particular tab.
And then in the response i add some values which gets back to this same chrome tab and machine.
How exactly does that happen.
How does a response object gets linked to a particular tab in a chrome broswer.

Also is it possible to send a response object without receiving a request object from spring to a particular machine and application.
I guess it should not be possible... But what makes it impossible.
If i have a rest controller in spring boot how can I validate the contract that comes in if certain values of the parameters need to have certain values??? ANy code examples are appreciated!
I am using a Mule Enterprise Service Bus for one of our integration project.I keep  getting  WeaveExecutionException everytime I test  it.Can any one please help or point me to the right direction?Below is the error details:-

Caused by: com.mulesoft.weave.mule.exception.WeaveExecutionException: Exception while executing: 
[row,col]: [1,1]
Unexpected character '[' (code 91) in prolog; expected '<'
 at [row,col {unknown-source}]: [1,1].
	at com.mulesoft.weave.mule.exception.WeaveExecutionException$.apply(WeaveExecutionException.scala:10) ~[mule-plugin-weave-3.8.5.jar:?]
	at com.mulesoft.weave.mule.WeaveMessageProcessor.execute(WeaveMessageProcessor.scala:121) ~[mule-plugin-weave-3.8.5.jar:?]

Open in new window

Laravel is one of the best solutions for increasing the revenues of your business. It takes extremely less time for the development of web app using Laravel. The development using laravel is easy and fast. When you are looking for web design services, you want a framework that not only satisfies your specific needs but, a framework, which satisfies multiple needs. A laravel service provider is capable of doing this.
How-Do-Laravel-Development-Services-.jpgWhile doing this, it can boost your business revenue. This blog explains, what makes Laravel service providers the best choice for you to boost your business?
I am developing a reusable javascript component that can potentially be on a page multiple times. The problem I am having is binding a specific instance of this component to an instance of the object that stores it's configuration and functionality. I'm looking for a pattern that will let me do this.

Assuming I have a generic container on a webpage for content:
<div id="SharedContainer"><div>

Open in new window

I want to generate 2 instances of a component so I might have something like this to create 2 instances by telling makeNewComponentInstance in which element to place these new instances and the second parameter passes something unique to that instance:
makeNewComponentInstance( document.getElementById("SharedContainer"), {"instanceCode":12345} );
makeNewComponentInstance( document.getElementById("SharedContainer"), {"instanceCode":67890} );

Open in new window

So I wind up with something like:
<div id="SharedContainer">
  <div>My component1 
     <button onclick="alertMyInstanceCode();">Write To Log</button>
  <div>My component2
     <button onclick="alertMyInstanceCode();">Write To Log</button>

Open in new window

For some reason I can't remember the right pattern to initialize instances on the fly while allowing to bind the configuration to only that instance it was created for. I don't want to try storing as an html object because the state and configuration information for a specific object is much more complex than the example I am giving.

I've done this before when I had control of how many instances I needed so I would just create however many instances of a variable I need to store it.
var myComponent1 = new ComponentInstance( document.getElementById("SharedContainer"), {"instanceCode":12345} );
var myComponent2 = new ComponentInstance( document.getElementById("SharedContainer"), {"instanceCode":67890} );

Open in new window

i'm trying to reload user privileges dynamically.

i'm trying to achieve custom authorization mechanism via MethodSecurityExpressionOperations or GrantedAuthority to secure the URL and authorize the URL based on the conditions.

i come across two flavours of Spring to handle this one is via MethodSecurityExpressionOperations and the other is via GrantedAuthority - createAuthorityList

i am not sure which one is better and which one to be used in the case of dynamic reloading of user privileges where one user privilege has been updated by another user dynamically while the user is working on...

Difference between Servlet Filter vs Spring Security Filter ?

Some says security filter just authenticates the user, where as servlet filter authorizes the request

Need code snippet to understand the structure of both and the differences.
Introduction to R
LVL 12
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

Spring Boot Version: 2.0
Spring Version: 5.0.4

Facing the following issues on trying to implement AccessDecisionManager

1. When used

public class WebConfig implements WebMvcConfigurer

Issue:  uanble to override protected void configure(HttpSecurity http) throws Exception {

2. When used

public class WebConfig extends WebSecurityConfigurerAdapter {

Issue: unable to override the following

a. public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) {
b. public void addResourceHandlers(ResourceHandlerRegistry registry) {
c. public void addInterceptors(InterceptorRegistry registry) {

3. Throws error "java.lang.IllegalStateException: No ServletContext set" when used as below

public class WebConfig extends WebSecurityConfigurerAdapter implements WebMvcConfigurer {

URL for reference:  http://www.baeldung.com/spring-security-custom-voter

public AccessDecisionManager accessDecisionManager() {
    List<AccessDecisionVoter<? extends Object>> decisionVoters
      = Arrays.asList(
        new WebExpressionVoter(),
        new RoleVoter(),
        new AuthenticatedVoter(),
        new MinuteBasedVoter());
    return new UnanimousBased(decisionVoters);

protected void configure(HttpSecurity http) throws Exception {
RequestHandlerInterceptor or AccessDecisionVoter which gets called first

I'm working on spring boot application and would like to know RequestHandlerInterceptor or AccessDecisionVoter which gets invoked first
Hello, I have decided to build a website with Bootstrap 4, just to test it out.

I am having trouble with as simple a task as centering an image, though.

This is the full code:

<!doctype html>
<html class="no-js" lang="it">


    <!-- BOOTSTRAP 4 -->
    <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
    <script src="js/vendor/modernizr-3.5.0.min.js"></script>
    <script src="js/vendor/jquery-3.2.1.min.js"></script>
    <script src="js/vendor/popper.min.js"></script>
    <script src="bootstrap/js/bootstrap.min.js"></script>



        <div class="container">
            <div class="row">
                <div class="col-xs-12">
                    <div class="text-center logo">
                        <img class="img-fluid" src="img/logo/logo800.png">



Open in new window

And this is the test page on my server:

I haven't been able to find a single reason why this image shouldn't be centered, with the text-center class assigned to its containing div.

Can somebody help me understand this?
Where i can download a sample or demo application which has the following..Any link would be useful

1. Source code
2. Sample SQL file to populate the data in mysql table or json to populate NoSQL
3. Uses Ajax in the front-end to send and receive responses
I have a created a custom meta box with field called model_num using CMB2 for my custom Taxonomy. Is it possible to show that field under WordPress Screen Options

add_action( 'cmb2_init', 'pc_register_product_items_metabox' ); 
function pc_register_product_items_metabox() {

	// Start with an underscore to hide fields from custom fields list
	$prefix = '_pc_prod_';
	$cmb_prod = new_cmb2_box( array(
		'id'            => $prefix . 'product_items_metabox',
		'title'         => __( '<strong style="font-size:20px;text-transform:uppercase;">Badge Item Details</strong>', 'cmb2' ),
        'object_types' => array( 'badge-gallery-item' ), // post type
		'context'       => 'normal',
		'priority'      => 'high',
		'show_names'    => true, // Show field names on the left

	) );
    $cmb_prod->add_field( array(
    'name' => 'Badge Model Number',
    'desc' => 'enter badge model number below, that be referenced by customers when they call in',
    'id'   => $prefix . 'model_num',
    'type' => 'text',
    'default' => '',
    ) );

Open in new window

Thanks & Appreciate it
Hi All:

I have an application that adds one line of input in the form.

I have to change it such that it adds multiple lines of input in the application.

The addition is done via an angularJS controller.

I have attach screenshot of both html code and angularJS controller code.

Look forward to your  responses.

Best Regards


Am using yii version 1.1.8
I need Image Validation without Page refresh Input type text & select box it's working fine, But image Validation Working after only form submit only.

My Coding ,

Enable validateOnSubmit true.
<?php $form=$this->beginWidget('CActiveForm', array(
'htmlOptions' => array('enctype' => 'multipart/form-data',
)); ?>

Once Image upload wrong format need to show the validation error without page refresh how to show like?
Is it possible to Move fliter Box in Above table , Attached image for reference. Please give me solution for my problem or else please tell me possible or not ..
hello experts,

I have a prestashop website and would like to do some php security test through online audit checking website, can you tell me if you know some websites that perform this kind of online checking?

-I have the admin page and I want to make sure nobody access it or know the URL to it, I was thinking about a solution here and would like to know your opinion: I was thinking if I get a static VPN IP address, then my admin URL does not accept any incoming connection unless from the one with my VPN IP address and was wondering to put that in the htaccess, my question here: is this the best practice to protect that admin backend page? What is the effective way in your opinion?

-The other thing is, how can I test my e-commerce website against SQL injection?

By the way, I'm using Cloudways vps server, the database must be accessed through a different address and I suspect you can't access it even with credentials to the server, also this server requires something some permission reset that is available only through the cloudways server account manager, just wondering if that also helps somehow.

thank you
CompTIA Security+
LVL 12
CompTIA Security+

Learn the essential functions of CompTIA Security+, which establishes the core knowledge required of any cybersecurity role and leads professionals into intermediate-level cybersecurity jobs.


Got issue below url,
<script src= "http://xxxxxxx.com/assets/85342785/jquery.yiiactiveform.js "/>

How to fix these also how to add defer or async and also below script to render block.

How to solve these,in my analysis add defer or async attribute in script tag inside


                     'htmloptions' => array('id' => 'defer')


Not work my above code.
I am a Cyber Security major. I've done a lot of programming as a hobbyist, and when I got into Java (and later when I looked at Swift) I felt like I was experiencing some major breakthroughs with Object Oriented Programming and PHP.

I have Crohn's so I didn't even complete the first course which only went up to multidimensional arrays.

So now I need some guidance - do I work out of PHP Patterns Objects and Practice before learning a framework? That book covers Object Oriented Design as well as the concepts.

Should I do that or just move to Laravel and start learning that?

What would be best.

A huge question I have about object oriented frameworks are - can you add functionality that's not built into the framework into your application?

When designing a complex website do you want to use an existing framwork or build your own? If you use an existing one and functionality isn't built in how do you add functionality?
How to image resize without stretch (not change quality image) when resize smaller size image to bigger size image.
Is there any extension in Yii 1.1?
Am used CImageComponent Extension it's resize image but image quality not good.

My Coding:
$image = Yii::app()->image->load(images/test.jpg);
$image->resize(1920, 920)->quality(100);

Above coding working fine,But My original image size
560 * 400 Once am resize 1920 * 920 it's not
good quality image be stretch.

I need to resize image without changing quality image (resize small size image to big size image).

Please Give me Solution.
Scrum is not a procedure or a method for building items; rather, it is an agile testing framework inside which you can utilize different procedures and strategies. Scrum agile testing framework clarifies the relative adequacy of your product advancement and management practices so you can boost up.

The Scrum framework comprises of Scrum Teams and their related parts, artifacts, events, and principles. Every part inside the agile scrum fills a particular need and is basic to Scrum’s prosperity an
Scrum is a test automation framework for agile development and testing inside which individuals can address complex versatile issues, while beneficially and inventively conveying results of the most noteworthy conceivable value.

The Scrum framework comprises of Scrum Teams and their related parts, artifacts, events, and principles. Every part inside the agile scrum fills a particular need and is basic to Scrum’s prosperity and utilization.
The standards of Scrum tie together the artifacts, parts, and events, administering the connections and collaboration between them.

Scrum Testing Roles:

Scrum has three parts: Product Owner, Scrum Master, and Team.
Product Owner: The Product Owner should be a man with vision, specialist, and accessibility. The Product Owner is in charge of constantly conveying the vision and needs to the advancement team.
It’s occasionally hard for Product Owners to strike the correct adjust of association. Since scrum agile testing framework esteems self-association among teams, a Product Owner must battle the desire to small scale oversee. In the meantime, Product Owners must be accessible to answer inquiries from the team.

Scrum Master:

Expert Comment

thank you all I found
in Option the7 and blog
I'm going through a tutorial in Symfony and despite the fact that I'm still in the shallow end of the pool, I can't get the very first page in the tutorial to come up and I don't know why.

Let me also mention this: According to the tutorial, I should get a default page when I use this URL: localhost/aqua_note. An error came up when I went to that URL. When I went to this URL: localhost/aqua_note/web, I got the default page they reference in the course.

I removed the DefaultController and replaced it with the code they present which looks like this:


namespace AppBundle\Controller; //namespace must match the Directory Structure

use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Component\HttpFoundation\Response;

class DefaultController
	public function showAction() //the only rule for a controller function is that it must return a Symfony response object
		return new Response('Under the Sea!');


Open in new window

When I go to the page which should show up now as localhost/aqua_note/genus, I get a 500 error.

Why? What am I doing wrong?

Let me also say that I ran into some trouble using the Symfony installer and instead used Composer. If that makes a difference, I'm not sure, but any direction at this point would be very much appreciated.

website down with error Fatal: Access to undeclared static property  JError::$legacy in framework.php line 42.  Line 42 says JError::$legacy = true;      I tried to comment line out - didn't work.  I tried to add var $legacy in configuration.php - didn't work.  I tried to restore from a previous backup - didn't work.  Any ideas are greatly appreciated.  vanagslaura@gmail.com

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