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.

Hi i am a beginner and have a table displaying data from my database generated by Scaffold.
Here is some code

<table width="100%">
    <th width="10%" class="Left_Alignment">Exam</th>
    <th width="10%" class="Left_Alignment">Subject</th>
    <th width="80%" class="Left_Alignment">Question</th>

<% @questions.each do |question| %>
    <td valign="top"><%= question.exam %></td>
    <td valign="top"><%= question.subject %></td>
    <td valign="top"><%= question.question %></td>
    <td width="70" valign="top"><%= link_to 'Show', question %></td>
    <td width="70" valign="top"><%= link_to 'Edit', edit_question_path(question) %></td>
    <td width="84" valign="top"><%= link_to 'Destroy', question, :confirm => 'Are you sure?', :method => :delete %></td>
<% end %>

I have a link already in the "Show" link which takes me to a page with more information about the selected question.
Ideally i would like to click the actual question text and go to the same page as mentioned above  
I need to add some code to the following line of code but dont know what
 <td valign="top"><%= question.question %></td>

Hopefully someone can help

Hey all,

I've been asked to do some research on Ontology and would like an 'Experts' insight into what it is.

What would OWL be compared to?  XMl maybe?

I've been researching on Wikipedia and such, but I'd like to know real-world applications for its' use, especially in the Artifical Intelligence (AI) realm.

Thank you!
Hello EE...
In a Spring env, I have a SQL statement refered to by  job.statement
I want to display the query, and below that a textarea into which edits can be made.
So the question is how can form:textarea  be defaulted with ${job.statement} ?
I know  for <TEXTAREA the following would work;
 <TEXTAREA id="${job.jobId}" name = statement ROWS="7" COLS="65" DISABLED>${job.statement}</TEXTAREA>
------------------------------------------------------ job.jsp snippet------------------------------------
<form:textarea id="${job.jobId}" path="statement" rows ="7" cols="65" disabled="true" />
<form:errors path="statement" cssClass="validationError"/>
Hi experts, I really wanted to learn web technologies on the java side and really having a hard choice between grails, java ee6 jsf 2 and spring framework. Thus I need the following answers:

  1. Based on job opportunities which is likely to win the future?
  2. Which is more suited for transactional applications i.e. non blogging sites or the like?
  3. Which is easier to learn and maintain by both a single developer and a team?
  4. Which is the purest MVC?

Also if you have other frameworks outside the ones mentioned above that suits best my questions please let me know.

I'm looking for a simple solution to allow users access to shared printers and Shared folders.  I simply want to provide links to these resources. I also want to us AD to secure access so only the users in the proper security groups will be able to add printers or access the shared folders.  I'm already aware of shared printer access using IIS and IPP but that doesn't provide access to the shared folders.

Any suggestions on where to start with this?  

I need to create a platform from which local community sites or sub-sites could easily be created. An example would be soccer leagues with each team being able to create their own website under their leagues site.

Some of the technologies I have looked at are:

WordPress MU
Joomla with Community Builder.

Are there other platforms or frameworks that are better suited for this purpose? With the exception of maybe Ning, these frameworks are not easily managed from a high level admin perspective.


I need advise to choose either between Magento or Zend Framework to implement ecommerce website for the stores in multiple locations. Is it ok to implemt from scratch in zend framework or magento?

Any problems with choosing ISO8601 dates with milliseconds appended as a format to store timestamps?

Specifically want to be able to get and set the timestamp, format the date for display, and perform queries filtering records based on that database field

eg. 2003-09-16T19:15:30.45
Hi, i hope someone here can help, i have spent all day trying to get a ROR environment setup and have failed spectacularly. So far i have the following
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]
Rails 3.0.1
Gems 1.3.7

I have manually installed MySQL the latest vesion of 32bit MySQL but so far i can make a rails project by using the command
'rails new testApp'
This creates the folder/file structure as expected, i cannot run the app though, typing
$ cd testApp
$ script/server

results in
-bash: script/server: No such file or directory

I've got no idea how to fix this, someone please help

I am using Hibernate 3.5.6 + Hibernate JPA 2.0 in a Spring MVC 3.0.3 web application context. I have a one-to-many relationship modeled (similar to below). The parent and associated child instances are supposed to get persisted to the database. However, with either consistently formed data or if made inconsistent (say, by null out a single non-nullable property e.g. Child.childName of a single record to reproduce a database exception), two bad things happen:

   * Inconsistent data set is persisted, up to the point of violating data
   * Data set is not persisted at all

Please download the ZIP file from the related post in the Spring community forum:


This ZIP file contains:

This app runs in tcServer developer edition and Tomcat, but both with the same behavior. Once you add the required JAR libraries to the WAR file, the application will run in a JSP/Java Servlet compliant app server. Let me know what I am missing. I consider myself a novice with Hibernate, so ORM related aspects in Spring are far from being my forte at this point!


Problem in a nut shell: This is done with ASP.NET/C#/MVC2

When the page loads it has the proper data in the drop down list, but it is not showing the proper item as being selected.  It defaults to the first item in the list, even though the page source says it should be selecting the 2nd option down.


I need the page to sort the drop down to the Selected="Selected" Item.

Here is the code that renders this section of the page.

           Complaint Detail:
           <select id="ComplaintDetail" name="ComplaintTypeID" style="width: 340px">

                  foreach (var item in CustomerComplaintSystem_MVC2.InformationTypeList.SelectInformationTypeListByBbbTypeID(Model.ComplaintTypeCategoryID))
                       if (item.InformationTypeListID.Value.ToString() == Model.ComplaintTypeID.Value.ToString())
                       <option value="<%=item.InformationTypeListID %>" selected="selected"><%=item.Name%></option>
               <% }
                     { %>
                       <option value="<%= item.InformationTypeListID%>"><%=item.Name%></option>
               <% } %>
               <% } %>

Here is the html after it is rendered.

           Complaint Detail:

Hi !!

Im trying to create my first web page in ASP.NET MVC 2 but im a struggling in the very beginning

i create the ASP:NET MVC web page demo that Visual Studio 2010 have and I tried to add a button.
Normally in ASP:NET if you double click a button in design mode it autommatically create a function onclick in code-behind, now in ASP.NET MVC it creates the function inside  a scrip tag (like if were javascript), thats ok for me but how can i reference objects that need libraries like Microsoft.Office.Interop.Excel , fopr example?,
write "using" in the script tags doesnt works!

I need to create a custom search form which includes a drop down list box which pulls from available categories. Are there any tutorials that demonstrate how to customize searching on this level?  It seems like I should be able to hook into or override something in the joomla system.

My team is looking at building a national website.

We currently use ColdFusion for all of our projects. I'm very concerned with making the pages SEO friendly. We currently use URLs like index.cfm?fuseaction=contact for most websites. I'd rather make them like site/contact/ or site/AZ/AutoParts.

I'd like to know if there are any NEW ways of using ColdFusion to be more friendly to SEO and if any particular framework works better than another.
I have a strongly typed view populated from viewmodel that has dropdown list.

 <%= Html.DropDownList("ID", Model.custList, "--select--")%>
  <%= Html.ValidationMessage("ID")%>

Which passes id to controller

public ActionResult Submit((int? ID)

I want to make dropdown mandatory so user must select an option
<%= Html.DropDownList("ID", Model.customereList, "--select--")%>

Open in new window

I keep getting the following error message 'Object reference not set to an instance of an object' can someone please tell me what I am doing wrong. Code and error message is attached. Thanks Northwind-Code.txt  Mvc - Error Message

---------------------------------------[ ProfilesController ]-------------------------------------

using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using Mvc_Northwind.Models;

namespace Mvc_Northwind.Controllers
    public class ProfilesController : Controller
        // GET: /Profiles/

        public ActionResult Index()
            return View();

        public ActionResult Edit()
            Profiles profiles = new Profiles();
            profiles.FirstName = "Headley";
            profiles.City = "Birmingham";
            ViewData["profiles"] = profiles;
            return View();



-----------------------------------------------[ PROFILES.CS ]-----------------------------------------

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Mvc_Northwind.Models
    public class Profiles
        public string FirstName { get; set; }
        public string City { get; set; }


-----------------------------------------------[ EDIT.ASPX ]-------------------------------------------------

<%= Html.ValidationSummary("Edit was unsuccessful. Please correct the 

Open in new window

Hello Friends I am having problem with Jquery spell checker I used exactly this code and I added js files in my Scripts but its not working for me.


In this line Code I am getting Object Doest not support property or Method Runtime Error..

                            lang: "en",
                            engine: "google",
                            suggestBoxPosition: "above"
                        .spellchecker("check", function (result) {

                            // spell checker has finished checking words

                            // if result is true then there are no badly spelt words
                            if (result) {
                                alert('There are no incorrectly spelt words.');

Thanks for your help
Hi There

I have two tables Person and Tracks
One person can have multiple tracks

I am having an issue getting a list of tracks for a person.

I have tried it a couple of ways but still no luck.

Could you please check my code and help me out.


The code below does not return any tracks





        public ActionResult List()


            var authperson = _authenticationService.UserLogin("Stan", "Stan");

            var tracklist = _trackService.GetAllTracksByPerson(authperson.Id);

            var viewmodel = new TracksViewModel(tracklist);

            return View("List", viewmodel);






public class TracksViewModel




        public Guid Genre { get; set; }

        public IList<Track> Tracks { get; set; }

        public Guid PersonId { get; set; }

        public SelectList GenreOptions { get; set; }



        public TracksViewModel(IList<Genre> genres)


            GenreOptions = new SelectList(genres, "Id", "Name");





        public TracksViewModel(IList<Track> tracks)


            Tracks = new List<Track>(tracks);




Tracks Service


public IList<Track> GetAllTracksByPerson(Guid personid)


            using (new UnitOfWorkScope())


                return …
After I've used CakePHP for several projects, I moved to CI to build some web applications. In Code Igniter , there are different ways to manipulate the sql's. I see most advantage part of Active Record concepts. It also looks good. Also I saw some ORM plugins and manipulate the sql's.

-i need to handle inser/update/delete/select with all types of conditions(where, limit etc.,).

I would like to know which is good way to manipulate MySQL databases queries using CodeIgniter.
I am planning to use small / medium / large web applications for CI.

Can any one advise?
I own a Linux shared hosting and not sure what is the exact volume of user will access the site. Blog vs code built from scratch using pure PHP, which one is better?

I am working through the django tutorial (Poll/Choice) part 3.  What is happening is that django is not recognizing any of my urls based on my urls.py.  How do I debug this since I think I'm passing it correct values?  Am I building my url regex's correctly?


Page not found (404)
Request Method:       GET
Request URL:

Using the URLconf defined in myseite.urls, Django tried these URL patterns, in this order:

   1. ^polls/ ^polls/
   2. ^polls/ ^polls/(?P<poll_id>\d+)/$
   3. ^polls/ ^polls/(?P<poll_id>\d+)/results/$
   4. ^polls/ ^polls/(?P<poll_id>\d+)/vote/$
   5. ^polls/ ^admin/doc/
   6. ^polls/ ^admin/
   7. ^admin/doc/
   8. ^admin/

The current URL, polls/34/, didn't match any of these.

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.

1 urls.py
    4 admin.autodiscover()
    6 urlpatterns = patterns('',
    7       (r'^polls/$', 'index'),
    8       (r'^polls/(?P<poll_id>\d+)/$', 'detail'),
    9       (r'^polls/(?P<poll_id>\d+)/results/$', 'results'),
   10       (r'^polls/(?P<poll_id>\d+)/vote/$', 'vote'),
   11       (r'^admin/doc/', include('django.contrib.admindocs.urls')),
   12       (r'^admin/', include(admin.site.urls)),
   13     )

Open in new window

I have a really annoying MVC problem when I want to validate a partial view that is returned from a controller action.

Depending on a given number, I need to generate a view - it is nicely returned, looks great, and the model is Data Annotated.

Problem: the validation is never triggered on the client and this makes it a real problem.
I have the user to fill in the general information + the details, but the details are not validated.

                        if (ui.index == 2) // test tab
                            var url = '<%= Url.Content("~/Stock/getTestTab") %>/'+ $("#StockItem_InStock").val();

                            $.get(url, null, function (response)

Open in new window

Can someone help me please!

I am trying to decide on

Drupal Vs Joomla Vs WordPress Vs Zend


Custom development

I am well experienced with PHP development and want to create websites from scratch for many scenarios.
I am not a designer so a solution with presentation and/or templates is suggested.

Some frameworks:
Articles, Blogs, eCommerce, Business Directories, ...
I want to be able to quickly create a presentation and be able to create all my server side business rules in PHP.

I want to find out what experts suggest.

Also, what do you think about http://www.artisteer.com
i regularly get a situation when repeated send requests on the same HTTPService object work but suddenly stop functioning without triggering an exception or faultEvent. Send methods are called but Wireshark shows that no requests actually go out. Seems to happen intermittently during periods of overlapping requests.

Problem reproduces on both action script or mxml constructed objects. On both FLEX SDK 3.5 or 4.1  

(The situation is made worse by that my preferred workaround would require to get the HTTPService object instance from the fault handler (i.e. on request timeout) so that the object could be destroyed and re-created - so that the resend would work. Unfortunately it is a  known issue that one can't obtain the instance from event.result and the rootURL kludge that i see being used is a bit too much for me...)

Any help would be greatly appreciated!!

The object parameters and usage is fairly basic, see below

var newServiceItem: HTTPService = new HTTPService();
newServiceItem.url = url;
newServiceItem.contentType = "application/x-www-form-urlencoded"
newServiceItem.method = "POST";
newServiceItem.resultFormat = "text";
newServiceItem.concurrency = "multiple";
newServiceItem.requestTimeout = 1;
newServiceItem.addEventListener(ResultEvent.RESULT, resultHandler );
newServiceItem.addEventListener(FaultEvent.FAULT, faultHandler );
Hi, I needed to install Intel Rapid Storage Technology software to manage the Intel ICH10R Raid controller of my RAID 1 setup.

The trick was, installing it on Windows Server 2008 R2.  I heard that in order to install IRST software I needed to install a feature .Net Frameworks for the software to install and work, because it needs .Net Frameworks.

Well, in order to install frameworks, I needed to install Web Server (IIS) or the frameworks feature is under the Web Server (IIS) role.

So, my question or concern is how can I tell whether or not I actually have IIS installed and running under 2008 R2?  I mean, I would rather not have it running or installed for that matter, just the bare minimum requirements to have the IRST software working, because it this server will be my main DC (PDC) and I don't need IIS for it.

I hope this makes sense.

If you need further details, just let me know.

Thanks for your time.


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