Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

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

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
Enroll in September's Course of the Month
LVL 10
Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

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
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