Go Premium for a chance to win a PS4. Enter to Win

x

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

Hi,

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(
'id'=>'enquiry-form',
'enableAjaxValidation'=>true,
'clientOptions'=>array(
'validateOnSubmit'=>true,
),
'htmlOptions' => array('enctype' => 'multipart/form-data',
'class'=>'contact_form'
),
)); ?>

Once Image upload wrong format need to show the validation error without page refresh how to show like?
0
Keep up with what's happening at Experts Exchange!
LVL 11
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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 ..
flitersearch.png
0
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
0
Hi,

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

           'packages'=>array(

                    'jqueryMin'=>array(
                    'baseUrl'=>Yii::app()->request->baseUrl.'js/vendor/',
                    'js'=>array('jquery-1.12.4.min.js'),
                    'coreScriptPosition'=>CClientScript::POS_HEAD,
                     'htmloptions' => array('id' => 'defer')
                    )

            ),

Not work my above code.
0
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);
$image->save();

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.
0
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
0
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:

s:20:"ntv_block_background";a:8:{s:7:"disable";s:7:"disable";s:5:"color";s:7:"#000000";s:8:"bg_image";a:0:{}s:13:"bg_image_type";s:7:"default";s:9:"bg_repeat";s:2:"no";s:17:"bg_image_position";s:0:"";s:13:"bg_image_size";s:0:"";s:18:"background_overlay";s:0:"";}

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 …
0
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??
0
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.

Models.py

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:

Views.py:

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.save()
            else:
                formset = ValueInlineFormSet(instance=vdef, prefix = prefix)

            entity.values_formset = formset

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

Open in new window

0
If I'm not mistaken we have a symbol and a hash but still I don't get why we have this syntax can you elaborate me or guide me what to read?
class Tweet < ActiveRecord::Base
  has_one :location, foreign_key: :tweeter_id, dependent: :destroy
end

Open in new window

Thanks
0
Free Tool: Port Scanner
LVL 11
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Hello,

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?
0
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?
0
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
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
<
Monthly
>