We help IT Professionals succeed at work.

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.

Hey guys

Im trying to learn about Laravel Forge and wanted to know if you know of any comparable products that I could read about?

Thanks
Yash
0
I'm trying to trace the logic of an app that's already built and I wanted somebody's eyes on this besides my own.

I "think" I've figured out what I need to do, it all depends on this construct.

The thing I'm trying to confirm is whether or not "StatementImage.php" is part of the process that you see below:

require_once __dir__."/AbstractStatementPDFGenerator.php";
class StandardStatementPDFGenerator extends AbstractStatementPDFGenerator {

    //STATE VARIABLES
    // Current Index is the row of the current table that we are trying to print.
    protected $current_index = 0;
    // Broken is set the table in question if we are part-way through printing a table when we reach the end of the page.
    protected $broken_tbl = false;

    protected $finished = false;

    protected $drawstatus;

    //Statement Types
    const TYPE_LOW_BALANCE = 0;
    const TYPE_NO_PAYMENT_PLAN = 1;
    const TYPE_PAYMENTPLAN = 2;

    protected $STATEMENT_TYPE;

    public function __construct(StatementImage $statement){
        $data = $statement->getData();
        $this->STATEMENT_TYPE = count($data['paymentplan']) > 0 ? StandardStatementPDFGenerator::TYPE_PAYMENTPLAN : ( count($data['paymentplan_options']) > 0 ? StandardStatementPDFGenerator::TYPE_NO_PAYMENT_PLAN : StandardStatementPDFGenerator::TYPE_LOW_BALANCE );
        parent::__construct($statement);
    }

Open in new window


On line 21 you see public function __construct(StatementImage $statement)v{. Is that calling StatementImage.php? I believe it is, partially because of the next line where it asks for "getData();." That function is on the StatementImage.php page.

Could someone confirm whether or not I'm correct in my analysis? I'm hesitant because I don't see "StatementImage.php," although that seems to be consistent with Code Igniter protocol.

Thanks!
0
Hi
I have a manual Bootstrap Carousel on Codeigniter of dynamically created content slides. I am trying to get the first row query result for the first slide (item and active carousel classes) and loop through the rest of the results for the rest of the slides (just item class). I don't understand how to show the two queries: first row, rest of the rows, on the same view page. When I load two views for the same function on the controller page they show up one below the other.
I guess I'm asking how to display two query results in specific locations on the view page. In the meantime, I've gotten around this by putting the first row query on the view page inside the first slide div. It works, but I know it's not the right way to do it. I would like to know how I can do this correctly.
An example page can be viewed at:
http://www.imj.org.il/he/exhibitions/2016/pharaoh/page?id=1
carousel.php
0
Hi - I have the below code for text box in the webpage.
Now when ever i enter the data with line breaks and click save, the format is missing when i come back.
Example:
In the text box i entered below information in the below format
Action1 is good, but action1 is not great.

So please use the below actions2
1) action2
2) action3
3) action4
Now once I clicked save and come back tomorrow or after some time to see the comments I wrote in the text area they appear like below
Action1 is good, but action1 is not great.So please use the below actions21) action22) action33) action4

My original code is below

{!! Form::textarea('action_item_comment'.(isset($action->id) ? '['.$action->id.']' : null).'', isset($action->action_item_comment) ? $action->action_item_comment : null, array('class' => 'form-control')) !!}

Open in new window


I changed the code as below

{!! Form::textarea('action_item_comment'.(isset($action->id) ? '['.$action->id.']' : null).'', isset($action->action_item_comment) ? nl2br(e($action->action_item_comment)) : null, array('class' => 'form-control')) !!}

Open in new window

Action1 is good, but action1 is not great.<br/><br/>So please use the below actions2<br>1) action2<br>2) action3<br>3) action4
When I changed the code i got the output as below.

so how to fix this ?
The database field is set to longtext.

Thanks
0
Below I've got some code from a Code Igniter application that I've been tasked with repairing and editing. I'm furiously working to understand Code Igniter while simultaneously attempting to troubleshoot things that are flawed.

Below is a section of code that I'm starting with. I'm hoping for someone to come along and quickly walk me through those portions of the syntax that I've coupled with some questions / attempts to explain what it is that I'm looking at.

I appreciate your input.

Thanks!

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); //prevents a user from directly accessing this page

class ChargeGroup extends MY_Controller // common Code Igniter dynamic in that this page, as a controller, is an extension of the CI MY_Controller dynamic
{

    public function __construct() // properties, by themselves, are like blank columns in a spreadsheet. You've named a placeholder, but you don't have a value. A construct gives you the option of assigning values to your properties in one fell swoop
    {
        parent:: __construct(); //anytime you're using a construct within the context of a parent / child relationship (ChargeGroup is an extension of the MY_Controller class), you've got use the parent::construct(); syntax
    }

    /**
 * Handles displaying the Return Encounter/ChargeGroup form.
 *
 * This function can both handle the initial page load and displaying alerts.
 *
 * @since 08/14/2015
 *
 * @return array An array of 

Open in new window

0
Below is all the information I have.  Any suggestions on where to start?  Thank you!  
C:\Users\denis>php composer.phar create-project --prefer-dist cakephp/app my_app_name
Installing cakephp/app (3.2.6)
  - Installing cakephp/app (3.2.6)
    Downloading: 100%

Created project in my_app_name
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - cakephp/cakephp 3.2.9 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
    - cakephp/cakephp 3.2.8 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
    - cakephp/cakephp 3.2.7 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
    - cakephp/cakephp 3.2.6 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
    - cakephp/cakephp 3.2.5 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
    - cakephp/cakephp 3.2.4 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
    - cakephp/cakephp 3.2.3 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
    - cakephp/cakephp 3.2.2 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
    - cakephp/cakephp 3.2.10 requires 

Open in new window

0
I have a form that uses a jquery repeater plugin to allow the user to add more fields or add more groups (and subgroups) of fields as needed.  When the form is posted I am looking for a way to traverse the multidimensional array with unknown depth and create the validation rules in codeigniter.

An example post would look like this:
Array
(
    [group-1] => Array
        (
            [0] => Array
                (
                    [field1_name] => field1_Value
                    [field2_name] => field3_Value
                    [field3_name] => field3_Value
                )

            [1] => Array
                (
                    [field4_name] => field4_Value
                    [field5_name] => field5_Value
                    [field6_name] => field6_Value
                )

        )

    [group-2] => Array
        (
            [0] => Array
                (
                    [field7_name] => field7_Value
                    [field8_name] => field8_Value
                    [field9_name] => field9_Value
                )

            [1] => Array
                (
                    [fielda_name] => fielda_Value
                    [fieldb_name] => fieldb_Value
                    [fieldc_name] => fieldc_Value
                    [subgroup-1] => Array
                        (
                            [0] => Array
                                (
                                    [fieldd_name] => fieldd_Value
                                 

Open in new window

0
i have a server 2012 R2 running.

this server gets his updates from a wsus server in the local lan.

now i want to add the client a new role and feature.

.framework 3.5

this always fail, because the source files are missing.

any help?
0
I have a WinForms project that I am using EF6 in.

I am upgrading an existing VB6 project so there is already a database so I am not using the code-first approach.

In the designer, I am trying to add a table to the model more than once, is this possible?

For example, I have a Client table and a Contact table. The Client table has a AccountContactID column and a SalesContactID column. Both columns link to the Contact table.
0
My objective is a mobile friendly website that will allow users to enter information about predefined topics. Users will be able to add notes, ask questions, and leave comments and answers. This information is usually text but can also be an image they upload. The information would be displayed like in a wiki format: topic, sub-topic, question, answer, etc.  
There would also be the standard user sign up, and also ability for users to vote up/down on content like in stack exchange and many other data collection sites.

The database for this (schema) is sql server (but could be MySQL or any other SQL database, as its vanilla).

My question is what technologies would be a good fit for this? Someone suggested to me ASP.NET / Bootstrap. I don’t know much about web based technologies out there. What do you think would be a good fit for this. Perhaps there are templates are already out there that are optimized for this. Or is ASP/Bootstrap a good approach? Of course I’m partial to something that has a big following so that when needed it would be easier to find expertise.
0
Hi Experts

Could you point what else is needed  to make Ant to find apache-tomcat library  to build an application?

Eclipse project.


Accordingly with this error:
img002
The instalation:
img003
The environment variables:

img004
img005
build.properties file:

img006

I'm following  this step-by-step Spring example
https://docs.spring.io/docs/Spring-MVC-step-by-step/part1.html#step1.1


Thanks in advance!
0
I need a tool to represent a home broker to my students web site. We´re going to create a market of others stuff to work as stocks on our study. I don´t want to develop a home broker, I need somethig similar and funcional.
0
I want to develop almost identical product as product nameWant to choose best suitable language, platform & tools; need guidance.
What kind of resources should I hire to get it developed. (Skill etc.)
0
I am trying to connect to a new class model that I set up. I am getting an error can't open stream, but the url is a C:\ and the slash at the end changes directions. Also, I do not reference that file anywhere. I have no idea what the problem might be.

This is the error:
 ErrorException in ClassLoader.php line 412: include(C:\xampp\htdocs\admin/app/news.php): failed to open stream: No such file or directory

namespace App\Http\Controllers;
use App\newsList;

class newsController extends Controller
{

public function index() {
    $news_list = newsList::orderBy('id', 'desc')->get();
    return view('news.index')->with('news_list', $news_list);

    }
}

Open in new window

This is the eloquent file. It's saved as App\newList.php

<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class newsList extends Model
{
protected $table = 'news';

}

Open in new window

0
I have been using Selenium to write simple automation tests at my work place. The process involves importing a Maven project with TestNG framework within Eclipse and writing the tests. However, I would like to learn how I can build such a framework from scratch. Any pointers in this direction is highly appreciated.

Thanks in advance.
0
Hi, I'm designing the backend of an app where i've a few scenarios and i'd like to get the base right in terms of how to properly design my daos and daoimpls and service layers.  Whats important is that i have situations where if a request comes in to add an entity, lets say, multiple tables will be populated, so for example entity table and generic details table.  I would like to create an ecosystem where my transactions are properly defined and are correct meaning that
if(add){
 -row inserted into table1
 -20 rows inserted into table2
 -21st row fails to be inserted into table2 due to a .. lets say primary key violation..
 - ROLLBACK ENTIRE transaction.
}
My current design is
Entity - pojo
EntityDao - interface that has methods like boolean addEntity(Entity entity);
EntityDaoImpl - extends EntityDao, the actual implementation where the addEntity method does a insert into the database.

Ive ran and tested and all is fine except transactional aspect is not working.  
My QUESTION is.. do i need a service layer somewhere in between if i want to handle transactions or marking the methods inside my dao impl class @Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class) is enough?

If i implement EntityServiceImpl where i have a method like addEntity that calls entityDaoImpl.addEntity() and wrap the EntityServiceImpl method @Transactional, is that better then having just a DaoImpl be transactional? i guess it is right so that i can commit …
0
Hello,

I wonder if is there any framework I can take advantage of for registering/loggin users, having groups,encrypted passwords etc?

I'm planning to use mysql for storage all the system I have to make.

Do you recommend to code it from scratch or ir there any framework/code I can reuse?

Thank you
0
Is it possible to use Highcharts to plot real time data? The number of data points is increasing. So the chart should be shifting to the right consistently, showing the new data while discarding the old data.
0
Hello,

We are tyring to migrate a site out of Wordpress due to plugin limitations and conflicts that we constantly had to correct.  Also, inconsistent playback on all devices - Desktop to Handheld.

We want a great user interface and would like to use something like Material Design/Bootstrap.  We want a custom admin panel with a dashboard to view overall stats of site (% per tag, usage, etc) as well as a visual way to view the status of the content in the process of being added as various tasks will be dispatched among different users.   We will need a cross platform media player that looks good and functions on all devices.  Filter panel for users etc.

Some have suggested using Typo3.  But, we don't like the backend admin panel.  We do not know if it is possible to create a custom admin panel with typo 3.  Typo 3 does seem to offer good extensions.  Then again, it looks a lot like Wordpress and we wonder about conflict issues.

I am looking for some input as to what approach to take - to leverage what is out so we could complete a scale-able and flexible site as soon as possible.

Many thanks for your input...
0
Hi,
I'm a programmer who is fairly new to python.  I come from a C and Perl background so python syntax seems very familiar.

I'm trying to find a good framework to use. I've been messing around with Django and it's pretty good, but it seems (from the limited experience I have with it), to approach things with the notion that one would be creating a site that is database driven.

What if I wanted to create a site that just runs some python code in the background but doesn't have to connect to a database. Something in the past I might have done with CGI. Will Django work relatively easy with a task like that or would there be a better framework to use?

My son has written a python script for a school project which runs in the command line. I'm looking for a good way to teach him how to translate it's functionality to a webpage. CGI would work, but I don't want to teach him outdated technology (no debates please on the 'outdated' phrase). His script does not access a backend DB.

Thanks
Nacht
0
Hi Experts,

I have installed Wampserver and CakePHP when I test the installation by entering http://localhost:8765 I get ERR_CONNECTION_REFUSED.  I have followed the suggestions here https://www.quora.com/How-do-I-fix-ERR_CONNECTION_REFUSED-on-Chrome, but to no avail.  Any suggestions on where to start?
0
I'm about to do a custom build and usually I will use skeleton for WordPress as my blank responsive theme.  This current project isn't the old school 960 grid with the content wrapper centred in the view-port.  I'm glad, because I want to do a full width layout and get away from those old layouts and the 960 grid stuff.

I could code the theme by hand and make it responsive etc no problem but I notice the Sage theme by roots.io and I need some expert help here.  I've never used bower, gulp, composer, sass etc.  I see this sage theme uses some of these and my question is:

If I learned to develop a custom theme using Sage which appears to have some dependencies like bower, gulp, compass etc, if developed on my local machine, how would this deploy on a shared hosting account like godaddy?  Do I need to install some stuff in the hosting account to support these dependencies?  Could be a retarded question but I need someone to explain the basic workflow concept for me.

thanks
0
Hi

I am wondering what are the current web frameworks out there to host an academic site? something that is not html but can display papers and code in an elegant fashion?
0
Hello,
I created an Intranet ASP.net MVC 4 Website. I want to use Rolebased Authorization in the controller methods. Authorization and Authentication should work against  active directory.

I configured IIS to use Windows Authentication and in web.config I have:
 <authentication mode="Windows" />
      <roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider" />
    <authorization>
      <deny users="?" />
    </authorization>

I have the following controller method:
       [Authorize(Roles = @"Domain\Group")]
        public ActionResult AdminSpecial()
        {
            ViewBag.Message = "This is only for Administrators";

            return View();
        }

The Authorization works fine with the logged in user for certain groups (e.g. Domain Admins). For other groups it doesn't. The App requests a login with another user.

Please help.
0
I went through the movie tutorial at https://docs.asp.net/en/latest/tutorials/your-first-aspnet-application.html and the MVA lessons at https://mva.microsoft.com/en-US/training-courses/introduction-to-aspnet-5-13786?l=PvSZtxoXB_5101937557. I *am* able to retrieve all rows in a SQL table in a cshtml file using code like this:

@foreach (var item in Model)
{
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.CompanyName)
        </td>
         <!-- OTHER CODE HERE -->
    </tr>
}

But I am not yet able to retrieve a single row based on criteria passed in from a form.

Apparently, there is very little updated documentation on the newest release of ASP.NET 5 MVC 6.  I've done programming for many years, but I am new to ASP.NET. I am about to pull out what hair that I have left. I am trying to do a simple login, so I figured if I could just do a sql select with a where clause (passing in an email address and password from an HTML form), then I could retrieve a single row matching the "where" clause conditions; then I would have the beginnings of a successful login. Of course, I need to learn more about the proper way to program secure logins, but I can't even get a single row. All the documentation that I have seen refers to old ways of doing things, and I have read through many web pages on this topic. I've been working on this for almost two days, and I must get over this hurdle. Any help would be GREATLY appreciated.

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