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

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?
[Webinar] Improve your customer journey
LVL 12
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

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
Hello all
We have ADFS on server 2012 R2.
We have the single sign on page showing nicely and all working good.
However, we have another domain the belong to us called company2.org it also points to the same ADFS site.
We are hoping when company2.org visitors visit the site, they get company2 logo page.
When company1.org visit the same site, they get comapny1 login page.

Is there a way we can customize that ?

Thank you
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.
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.
Hire Technology Freelancers with Gigs
LVL 12
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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
http://halohimalaya.com is using bootstrap. My question is: is it using anything else which will conflict with it, as i don't want the pages to become difficult to control at different media sizes?
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 am new to rest api.
i want to implement REST API for my project which is developed with Spring framework.
i want to implement  REST API in best way.

Please provide sugggistions for design and development.
What exactly is the difference between a Web Framework, Web Server vs Javascript Frameworks?
A real head scratcher

SQL Server 2005
Web Service .Net Framework 3.5
Symbol MC3190
VB.NET Compact Framework 3.5

Dates consumed by the compact framework are shifted by the difference in the timezone between the server and the client.

Luckily for me the fix was as just a matter of setting the client machines timezone to that of the server.

Just putting it out there in case someone runs into something similar.


Upgrade your Question Security!
LVL 12
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Hi everybody.
I'm working on an application which builts a form from the mysql table and then post back values to the table itself. Everything works fine, but...
Now I have added to the table some column and I have used spanish names. Among them I have used 'baños'.
Now the form is correctly displayed, the label in the form is correct and even the database error displays correctly the world 'baños' among the columns of the table... But the query fails because suddenly in the $_POST array appears a  value without name (indexed to 0) and set to the same value of the input 'baños'.
In other words, the input baños is inserted in the $_POST array 2 times: associatively and numerically!:
This is the error mesages I get:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '0) VALUES ('GUIA DE ISORA CASA INDEPENDIENTE DE 3 HABITACIONES DE 192 m2 (COD. 6' at line 1

REPLACE INTO `immobiliaria` (`title`, `dormitorios`, `baños`, `garaje`, `piscina`, `hamaca`, `zona`, `precio`, `codigo`, `medidas`, `notas`, 0) VALUES ('GUIA DE ISORA CASA INDEPENDIENTE DE 3 HABITACIONES DE 192 m2 (COD. 625)', '', '2', '', '', '', '', '', '', '', '', '2')

Open in new window

The database colation is utf8_general_ci, Codeigniter is set to utf-8 charset too...

Have someone any idea? Keep in mind that if I just rename the column 'baños' to 'banos' everything works fine...

Thank you for your help, guys.
Hi Experts

Could you point whyat's needed to a Codeigniter app to correctly be started?

When opened the app presents this screen

And index.php must be fired to make it start.

Another app under the same htdocs present  the login screen but only correctly runs if index.php is used in the path.

Thanks in advance!
I'm learning Django, and trying to see if I can come up with a simple app, that just keep track of text only pins.

I can access the admin and view and create objects there without problem. What I am having trouble with is understanding why the data isn't coming up in the template.

My code is below.

from django.db import models
from django.utils import timezone

class Pin(models.Model):
    created_at = models.DateTimeField(default=timezone.now)
    title = models.CharField(max_length=255, default="Untitled")
    description = models.TextField(default="")

    def __str__(self):
        return self.title

Open in new window

from django.contrib import admin
from .models import Pin


Open in new window

from django.conf.urls import url
from django.contrib import admin
from . import views

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^$', views.pin_list),

Open in new window

from django.shortcuts import render
from . models import Pin

def pin_list(request):

    pins = Pin.objects.all()
    return render(request, "pin_list.html", {'pins': pins})

Open in new window

{% load staticfiles %}

<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">

<img height = "50px" src = "{%  static "images/logo.jpg" %}" >

{% for p in pins %}

    <li>{{ p.tile }}</li>

{% endfor %}


Open in new window

When I runserver and look at the "view source" of the resulting html I get this
<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">

<img height = "50px" src = "/static/images/logo.jpg" >




Open in new window

Why isn't my data coming up? What am I missing?
One of our RSS feed URL's has been https://neighborsofchampaign.com/feed?cat=-4  originally set to pull our General News feed from a Wordpress site.  These RSS feeds are being used with MailChimp campaigns.

Other specific Wordpress categories are formatted  https://www.neighborsofchampaign.com/?cat=210&feed=rss2

1. What is the -4 value effect on the RSS feed?  Note: the actual category ID for General News is 3 in our case.
2. Is the domain/?cat=xxx&feed=rss2  the formal way to format rev 2 of RSS?
Hello Experts,
I am using JSTree plugin to display my Data.
But when I select the Child node, I wanted to get the Parent node Text on form submit.
I have tried below code.

$(document).on('click', '#btnSubmit', function () {
var parent = [];
        var selectedElms =$js('#IndustryTree').jstree("get_selected", true);
        $.each(selectedElms, function () {
            var node = $js('#IndustryTree').jstree(true).get_node(this.parent, true);            
            var Parentnode = $js('#IndustryTree').find("[id='" + this.parent + "']");

Open in new window

But When I run this code, in Parentnode[0].innerText I am getting Parent Node text as well as all Child node text. So it is difficult to differentiate the Parent Node Text.

Another issue is when Checked the Parent node, then all child nodes are selected. But I am not getting that selected parent node using below code

var selectedElms =$js('#IndustryTree').jstree("get_selected", true);

Parent Node selection

This code is working when I particularly select the Child node, in this case, parent node CSS class will be jstree-icon jstree-checkbox jstree-undetermined

Child Node selection is Working
Any help would be appreciated
Our Company Is Planing To Migrate Silverlight ERP System To Angularjs , HTML5

Any Tools Available For That ?

Please Provide Best Strategy

Naitik Gamit

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