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

what are the tools and procedures to establish the Web Application development department in a company?  The department will create new web applications and mobile applications including
Business and system analysis.
PMI ACP® Project Management
LVL 19
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

I have tried to install Django and I have written the following command in Power Shell:

PS C:\project\firstproject> virtualenv venv-first-project

but the below error is raised :

virtualenv : The term 'virtualenv' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ virtualenv venv-first-project
+ ~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (virtualenv:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

how can I solve this error?
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.
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 {
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

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.
Fundamentals of JavaScript
LVL 19
Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.

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.
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
I’ll try to make this short and succinct.  I have a Drupal 8 theme that I purchased (I won't name names) and all was good for the first month but then I noticed that whenever I made system changes to the site I would get errors like this (especially when I did a configuration Import):

Configuration block.block.footer depends on the ntv_block_background module that will not be installed after import.

This specific module does not exist, that I can find, but I believe that it is a module that the developer used during development and did not uninstall it correctly when he decided he did not want to use it anymore.  So the data that I acquired from the theme’s SQL was bad to begin with.  I have tried contacting the original author but I get no reply and have given up on that channel.

Digging Deeper: In the SQL database under the Config table is a data blob that contains references to this module in about 63 different data blobs.  a relevant section of the data looks like this:


My Question: There is too many references to remove by hand, Is there a utility (drush or other) to remove meta-data from a module that I no longer have access to and purge the unused data so that it does not …
I have included pdf through embed tag which will display in a modal after clciking the button using  angualrjs, now i want to show a loading spinner till that pdf loads, how can i get to know that pdf is loaded or not and how can i add spinner? Can anyone help me on this??
I have a model structure that lets the user define a page.

The code below shows a subset of it, and while I'm having no problem displaying the form with the formsets, I'm having trouble saving it, and then displaying it again.


class Entity(models.Model):
    title       = models.CharField(max_length=50)

class ValueDefinition(models.Model):
    title       = models.CharField(max_length=50)   
    entity      = models.ForeignKey("Entity", null=True)
    order       = models.PositiveSmallIntegerField(default=0)

class Value(models.Model):
    value_definition    = models.ForeignKey("ValueDefinition")
    is_default          = models.BooleanField(default=False)  
    value_type          = models.CharField(max_length=50)
    char_value          = models.CharField(max_length=200, null=True, blank=True)
    integer_value       = models.IntegerField(null=True, blank=True)
    boolean_value       = models.BooleanField()

Open in new window

As you can see I have: Entity -> ValueDef -> Value. With Foreign Keys upstream. Obviously I took out many more fields and left in the fields that will let you get the idea.

Problem is: I want to display, as a form, a series of entities, and their related Values. Of course the whole page is much more complex, but here is the relevant piece of code of the View:


def my_view(request, page)

    # some more code here...

    ValueInlineFormSet = inlineformset_factory(ValueDefinition, Value, ValueForm, extra=0)

    for entity in page.entities:
        vdef = entity.valuedefinition_set.first()
        if vdef:
            prefix = 'value_set-%s' % entity.pk
            if request.method == 'POST':
                formset = ValueInlineFormSet(request.POST, instance=vdef, prefix = prefix)
                if formset.is_valid():
                formset = ValueInlineFormSet(instance=vdef, prefix = prefix)

            entity.values_formset = formset

    return render(request, 'myapp/page.html', {'page': page})

Open in new window


I created a navbar menu where you click on profile and you get to profile based on your username, example, if your username is: Anderson. when you click on profile, it takes you to web.app/anderson

but the issue is this, when I log in, laravel show me a link of : http://web.app/respond.min.js that takes me to profile page instead of http://web.app/home home page

That happens because of this route:

Route::get('{username}', 'ProfileController@index');

Open in new window

When i change the {username} to 'profile', everything works normal but it doesn't achieve my needs which is to redirect to http://site/username

any idea, did i make any mistake in the syntax?
I have a Spring Roo application.  I created a Spring MVC controller that calls a view.  The view is trying to call an applet that is trying to invoke a dll.  I keep getting an error "UnsatisfiedLinkError: Library 'jnidispatch' was not found by class loader Applet2ClassLoader{<locations where it should be able to find the dll, but can't seem to find it.  ie http://localhost:8080/FPM/applet/>} What am I doing wrong that I can't call the jnidispatch.dll?
I am getting an error while trying do a url rewrite job...the situation is like this. Theres is a url say abc.com needs to be converted to abc.com &locationCode=/uk. So what I did the location code is been retrived from database so I wrote a code in asp.net and the abc.com route to intermediate service I wrote i.e xyz.com(asp.net application) and add the location with abc.com and send back to client.

now it works ok with IE but when I use crome then giving the error (scriptresource.axd 404 ) while I fire the url abc.com in chrome browser after clearing the cache but after that it works even in crome but for the first time after clear the cache it is throwing the error and holds the url to xyz.com in browser not redirecting to abc.com  OR abc.com &locationCode=/uk

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