[Last Call] Learn how to a build a cloud-first strategyRegister Now

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
[Webinar] Cloud and Mobile-First Strategy
LVL 11
[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

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

Expert Comment

by:bruno_boccara
thank you all I found
in Option the7 and blog
0
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:

<?php

namespace AppBundle\Controller; //namespace must match the Directory Structure

use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Component\HttpFoundation\Response;

class DefaultController
{
	/**
	*@Route("/genus")
	*/
	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.

Thanks!
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
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?
0
Important Lessons on Recovering from Petya
LVL 11
Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

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 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.
0
What exactly is the difference between a Web Framework, Web Server vs Javascript Frameworks?
0
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.

https://social.microsoft.com/Forums/en-US/9858d657-ce26-442a-86a7-e2ba6b774ebf/sync-framework-over-wcf-sql-2005-datetime-is-shifted-by-timezone?forum=syncgeneral


0
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.
0
Hi Experts

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

When opened the app presents this screen

img006
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!
0
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.

models.py
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


admin.py
from django.contrib import admin
from .models import Pin

admin.site.register(Pin)

Open in new window


urls.py
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


view.py
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


pin_list.html
{% load staticfiles %}

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Pins</title>
</head>
<body>


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

<ul>
{% for p in pins %}

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

{% endfor %}
</ul>

</body>
</html>

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">
<head>
    <meta charset="UTF-8">
    <title>Pins</title>
</head>
<body>


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

<ul>

</ul>

</body>
</html>

Open in new window


Why isn't my data coming up? What am I missing?
0
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

Questions:
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?
0
New feature and membership benefit!
LVL 11
New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

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 () {
            selectedElmsIds.push(this.text);
            //parent.push(this.parent);            
            var node = $js('#IndustryTree').jstree(true).get_node(this.parent, true);            
            var Parentnode = $js('#IndustryTree').find("[id='" + this.parent + "']");
            parent.push(Parentnode[0].innerText);
        });
});

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
0
Our Company Is Planing To Migrate Silverlight ERP System To Angularjs , HTML5

Any Tools Available For That ?

Please Provide Best Strategy

Thanks
Naitik Gamit
0
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.
seoinspector.php
easywebfetch.php
0
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.
0
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()'?
0
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 :

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

Open in new window


The code I am using to submit it is :

	public function actionApplication()
        {
            if(isset($_POST['email'])) {
		//die("<pre>".print_r($_POST,true)."</pre>");
		Yii::app()->theme = "newlanding";
		//$email = trim($_POST['email']);
		$emailArray = $_POST;
		$subject = 'New Vendor Application ';
		$body = $this->renderPartial("/site/_applicationEmail",array("emailArray"=>$emailArray),true);
		Email::sendMail("me@email.com",$subject,$body);
		$this->redirect(Yii::app()->createUrl("/Site/Application"));
            }
		Yii::app()->theme = "newlanding";
		$this->render('application');
        }

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?

Thanks!


Form field names
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
>