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

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 …
On Demand Webinar - Networking for the Cloud Era
On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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.
i want to introduce JPA to my project which is developed with spring mvc.
so i want to use  both JPA and Spring datasouce.. because older DAO files have been developed with spring data source with templets.

is it possible to use both JPA and datasource in same project with out any sideeffects or future problems?
any examples?
i am using spring MVCframework for my project.

 <bean id="PurgeScheduler" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
           <property name="jobDetail" ref="PurgeJob"/>  
           <property name="cronExpression" value="${schedule.Purge.cron}"/>          

I have configured my job as above.. it is working fine..

My problem is , to update  'cronExpression' value.. i need to open properties file and update.
i want to move the properties to Database..

how  to read and set the cron expression value from database while starting up jboss server.
What exactly is the difference between a Web Framework, Web Server vs Javascript Frameworks?
we have web application, it is currently supported IP4.it is developed with Spring mvc.
now i want to support IPV6.. how could be the changes.. and how it will effect.
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.


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!
Free Tool: Path Explorer
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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
I know this is going to be hard for me to explain, so please ask if there's other info that will help clarify.

We have a tool here: http://www.getsearchified.com/ that you enter a url of any site and it scans through some things to return seo recommendations. Where it's now having a problem is it automatically is checking http:// rather than checking what you enter so that you can check an http:// site or an https:// site. The tool fails if it doesn't get a 200 response. So obviously it's seeing 301 because it's automatically looking at the site as http:// first. The tool was built a really long time ago so I think it just wasn't fully thought out for https sites since there weren't really a ton of ssl sites yet. We can't even remember the programmer we hired to get things going on it to be able to reach out to them for advice.

The tool was built using smarty, so I "think" where code needs edited is in the two files attached.

Any help on this would be great.
I'm relatively new to ASP.NET MVC.

Just wondering if we can create custom Views folders rather than just having just Account, Home, Shared, etc?

If I want to rename these folders, what other configurations I need to do?

Thank you.
I'm creating pagination manually for results using Eloquent ORM. The pagination works fine except it's defaulting to display only back and next buttons (simplePaginate()) rather than back, next and page number links.

Here's how I'm generating the pagination;

$data = new \Illuminate\Pagination\Paginator($allRecipes, $perPage, $page, ["path" => "recipes"]);

Open in new window

Is there a way I can ask for the pagination to not be the equivalent of calling 'simplePaginate()'?
Hello all,
    I have been working on an application form which is pretty long, upwards of 100 fields and I have it working and all, I just need to try and make it a bit more readable but trying to do it as easy as possible. You can see in the pic below, it comes through showing the fields name, which some of them are not really understandable to people, such as yib being Years in Business, and yal being Years At Location. I have all the placeholders of the form filled out and was wondering if it were possible to use a script to take those placeholders and replace it on my email template with those values instead.

Currently, the way my email template is quite simple as you will see :

<table rules="all" style="border-color: #666;" cellpadding="10">
		<?php foreach ($emailArray as $name => $value) { ?>
                        <strong><?php echo $name; ?></strong>
                        <?php echo $value; ?>
            <?php }; ?>

Open in new window

The code I am using to submit it is :

	public function actionApplication()
            if(isset($_POST['email'])) {
		Yii::app()->theme = "newlanding";
		//$email = trim($_POST['email']);
		$emailArray = $_POST;
		$subject = 'New Vendor Application ';
		$body = $this->renderPartial("/site/_applicationEmail",array("emailArray"=>$emailArray),true);
		Yii::app()->theme = "newlanding";

Open in new window

Is there a way I can try and capture those placeholder values and either show them in addition to the name (if need be) or replace the name value with the placeholder value with a looping script and not having to try to copy and paste them all?


Form field names
I like learning object oriented php

but do not want to be bogged down by html, css, jquery, javascript, ajax

I know I can use command line php but if a client is paying me; client usually wants artwork.
A css designer will draw a picture of an expected form and I am forced CODE the html and css to the exact layout of the picture

then the client states the the textbox is 1 inch (.5 cm) too tall.

do other object oriented languages force me to learn so much design software

Please add many other object oriented programming zones
On Demand Webinar: Networking for the Cloud Era
On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Not a question, just a heads-up to the E-E community.  PHP 5 is circling the drain, with active support continuing only 21 more days at this writing.  Time to upgrade to PHP 7+

Of particular importance is the removal of MySQL, which has been deprecated for years.  More information here:

If your PHP framework or application depends on any version of PHP < 7.0, you may have a sudden load of technical debt, and a difficult decision to make.
So I'm using the code igniter session library to manage user sessions and in the config file I've choosen to use the file method of managing sessions.  Now I need to create a folder (sess_save_path) where these temp session files will be stored with permissions of 700.  No problem I can do that but I have no idea what to call the folder.  What is normal convention in these cases.  Also, if I wasn't using code igniter to manage this, which folder would be used by default in PHP?

Here is the default entry in the Code Igniter config file:
| Session Variables
| 'sess_driver'
|      The storage driver to use: files, database, redis, memcached
| 'sess_cookie_name'
|      The session cookie name, must contain only [0-9a-z_-] characters
| 'sess_expiration'
|      The number of SECONDS you want the session to last.
|      Setting to 0 (zero) means expire when the browser is closed.
| 'sess_save_path'
|      The location to save sessions to, driver dependent.
|      For the 'files' driver, it's a path to a writable directory.
|      WARNING: Only absolute paths are supported!
|      For the 'database' driver, it's a table name.
|      Please read up the manual for the format with other session drivers.
|      IMPORTANT: You are REQUIRED to set a valid save path!
| 'sess_match_ip'
|      Whether to match the user's IP address …
Here's the URL: index.php/twiml/start/voice/1

Based on what I know, I'm thinking index.php would have some kind of "index" function that would point to the twiml controller.

Can't find it.

Here's the index.php page:

 * "The contents of this file are subject to the Mozilla Public License
 *  Version 1.1 (the "License"); you may not use this file except in
 *  compliance with the License. You may obtain a copy of the License at
 *  http://www.mozilla.org/MPL/

 *  Software distributed under the License is distributed on an "AS IS"
 *  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 *  License for the specific language governing rights and limitations
 *  under the License.

 *  The Original Code is OpenVBX, released June 15, 2010.

 *  The Initial Developer of the Original Code is Twilio Inc.
 *  Portions created by Twilio Inc. are Copyright (C) 2010.
 *  All Rights Reserved.

 * Contributor(s):

// set some base information
$script_dir = rtrim(str_replace('\\', '/', dirname($_SERVER['SCRIPT_NAME'])), '/');
define('WEB_ROOT', $script_dir . '/');
define('ASSET_ROOT', $script_dir . '/assets');

// PHP 4 will white screen and not give a
// meaningful error. This allows us to at
// least exit gracefully
if(version_compare(PHP_VERSION, '5', '<'))

// persist the session if we've exited cleanly
function shutdown()

Open in new window

I have 2 variables declared as mtn and atn whose values get populated based on the API ajax response.

Now, I am assigning mtn and atn variables with a value returned from API response and in my case since mtn is coming as null whereas atn is having a 10 digit number. So I am assigning atn1, atn2, atn3 with substring of atn whereas mtn1, mtn2 and mtn3 is untouched as you can see from below code snippet.

var ViewModel = {
mtn: null,
atn: null,
mtn1: ko.observable(null),
mtn2: ko.observable(null),
mtn3: ko.observable(null),
atn1: ko.observable(null),
atn2: ko.observable(null),
atn3: ko.observable(null)
// Ajax API call happens and assigns ViewModel.mtn and ViewModel.atn
if (ViewModel.mtn != null && ViewModel.mtn.length == 10) { //This condition is not true because ViewModel.mtn is coming as null in case and so mtn1, mtn2 and mtn3 observables are untouched
ViewModel.mtn1 = ViewModel.mtn.substring(0, 3);
ViewModel.mtn2 = ViewModel.mtn.substring(3, 6);
ViewModel.mtn3 = ViewModel.mtn.substring(6, 10);
if (ViewModel.atn != null && ViewModel.atn.length == 10) {
ViewModel.atn1 = ViewModel.atn.substring(0, 3);
ViewModel.atn2 = ViewModel.atn.substring(3, 6);
ViewModel.atn3 = ViewModel.atn.substring(6, 10);

// Click event happens from View and Business logic UI validations take place below
processClick: function() {
     .var strmtn = ViewModel.mtn1 + ViewModel.mtn2 + ViewModel.mtn3; // This is not working and throwing error and only 

Open in new window

Hi Experts,

I have a php application that lists all the student members on a form.  

Where is the sort being set?

I have a file super_index_students.ctp that lists all the member students in the system.  I can see that a sort is set in the headers and it works, but we would like it to be desc by default and able to switch back and forth.  I should be able to edit line 23 to reflect below, but it doesn't work.  The sort is still ASC.  So where is the sort coming from?

I understand when a cakephp app is created the View pulls the data from the Controller.  I do see a function included in the Member controller called the same name, but I can't find any sort there either.   What am I missing or doing wrong?  Any suggestions would be greatly appreciated.

Example of the desc order I want.
<th><?php echo $paginator->sort('id',null,array('direction'=>'desc'));?></th>

Open in new window

function super_index_students() {


        $this->set('security_id', $this->Session->read('security_id'));

        $this->Member->recursive = -1;

        $students = $this->paginate('Member', array('member_type_id'=>1));

        $this->set('members', $students);


Open in new window

<br /><br /><br /><?php //var_dump($members); 
//var_dump($students_array); ?>
	echo $form->create(array('method'=>'link', 'action' => 'search_students', 'controller'=>'members','super'=>true));

Open in new window

Hi Experts,

Through me searches regarding PHP development language, I Found a lot of frameworks like: Symfony, Laravel, CodeIgniter, CakePHP, FuelPHP, Drupal and Zend.

And my questions are:
- Why there are a lot of frameworks in PHP?
- How to choose the right framework for me? based on what?
- Are there any certification tracks (similar to .NET) the I can follow to get better knowledge and to prove my skills to my employer?
- Which version of PHP to use?

Thanks a lot.

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