Programming: Web Applications

Web Programming

Start New Discussion
Posted At: 6/18/2019 9:13:44 PM
Posted By: Comfortably Anonymous
Viewed: 216 times

Intellectually, anyone can learn to code. Anyone can also learn to play piano. But at least with piano someone else can hear the result and recognize the effort. Plus one bad note doesn't cause the piano to burst into flames.

Posted At: 4/18/2019 2:58:45 PM
Posted By: Ben Kimball
Viewed: 268 times

The biggest "relevant" problem with REST APIs here is the clients need to communicate with multiple data API endpoints. REST APIs require clients to do multiple network round-trips to get their data. They are usually a collection of endpoints where each endpoint represents a resource, so when a client needs data about multiple resources it needs to perform multiple network requests to a REST API and then put together the data it needs by combining multiple responses. In a pure REST API (not a customized one), a client cannot specify which fields to select for a record in that resource. That information is in the REST API service itself and the REST API service will always return all of the fields regardless of which ones the client actually needs. GraphQL’s term for this problem is over-fetching of information that is not needed. It is a waste of network and memory resources for both the client and the server. GraphQL speaks to the data as a graph and data is naturally a graph. If you need to represent any data, the right structure is a graph. The GraphQL runtime allows us to represent our data with a graph API that matches the natural graph shape of that data.

Posted At: 11/2/2018 3:26:11 PM
Posted By: Ben Kimball
Viewed: 420 times

A few good queries to find out why Oracle is running slow...

Posted At: 5/18/2018 3:13:18 PM
Posted By: Ben Kimball
Viewed: 595 times

A new tutorial focused on helping existing ASP.NET MVC developers transition to the strange new world of modern Single Page Application development and all the insanity that comes with.

Posted At: 3/8/2018 6:59:33 AM
Posted By: Ben Kimball
Viewed: 655 times

This series takes you through the development of a full app from the ground up, including the login screen with authentication and authorization.

Posted At: 2/16/2017 3:13:07 PM
Posted By: Ben Kimball
Viewed: 782 times

A good, interactive, video course that gets introduces all the concepts and makes you actually write some code to progress. Very well done.

Posted At: 10/26/2016 10:50:20 AM
Posted By: Ben Kimball
Viewed: 890 times

Whether you are writing an Angular front end for an old application with large use and adoption, or your pre-existing Angular application is gaining momentum, performance is an important aspect. It is important to understand what causes an AngularJS application to slow down, and to be aware of tradeoffs that are made in the development process. This article will walk through some of the more common performance problems caused by AngularJS as well as given suggestions on how to fix and avoid them in the future.

Posted At: 10/14/2016 1:28:58 PM
Posted By: Ben Kimball
Viewed: 903 times

If you need a crash course to quickly learn AngularJS, this is pretty good.

Posted At: 12/16/2014 4:27:43 PM
Posted By: Ben Kimball
Viewed: 959 times

Toads are not agile. Toads do not need to be agile. Toads are already exactly where they need to be. Toads do not live in clouds. Toads live on the ground, unless they are flying toads, or hyperspace toads, or subterranean intelligent toads. Toads are the foundation of all programming languages. Toads melted steel inb teh WTC. Toads can write in all languages and speak four languages. Toads have fifty eyes on their heads, which is 48 more eyes than most humans. Toads rule the world with justice for all.

Posted At: 8/19/2010 9:32:36 AM
Posted By: Comfortably Anonymous
Viewed: 803 times

// Returns the month name corresponding to the monthNum passed.
// Returns full month name if abbreviate = false.
// Returns three letter abbreviation of month if abbreviate = true.

function NumToMonth(monthNum, abbreviate) {
    switch (monthNum)
    {
        case 1: if (!abbreviate)
                        return "January";
                    else
                        return "Jan";
                     break;
        case 2: if (!abbreviate)
                        return "February";
                    else
                        return "Feb";
                    break;
        case 3: if (!abbreviate)
                        return "March";
                    else
                        return "Mar";
                    break;
        case 4: if (!abbreviate)
                        return "April";
                    else
                        return "Apr";
                    break;
         case 5: return "May";
                    break;
         case 6: if (!abbreviate)
                        return "June";
                    else
                        return "Jun";
                    break;
         case 7: if (!abbreviate)
                        return "July";
                    else
                        return "Jul";
                    break;
         case 8: if (!abbreviate)
                        return "August";
                    else
                        return "Aug";
                     break;
         case 9: if (!abbreviate)
                        return "September";
                    else
                        return "Sep"; // SEP field??
                     break;
        case 10: if (!abbreviate)
                        return "October";
                      else
                        return "Oct";
                      break;
        case 11: if (!abbreviate)
                        return "November";
                      else
                        return "Nov";
                      break;
        case 12: if (!abbreviate)
                        return "December";
                     else
                        return "Dec";
                      break;
         default:
                return "Unknown monthNum " + monthNum;
                break;
    }
}

Posted At: 11/4/2009 11:42:37 AM
Posted By: Comfortably Anonymous
Viewed: 799 times

This annoying error is surprisingly easy to fix. Most of the time, it's caused by using the Script tag "incorrectly" (Which seems correct in all other situations, but does not work in this case.):

Posted At: 11/16/2005 1:29:55 PM
Posted By: Comfortably Anonymous
Viewed: 1078 times
No Summary
Posted At: 11/16/2005 12:53:19 PM
Posted By: Comfortably Anonymous
Viewed: 1247 times
No Summary
Posted At: 10/20/2005 9:29:08 AM
Posted By: Comfortably Anonymous
Viewed: 1100 times
No Summary
Posted At: 5/14/2005 10:22:07 PM
Posted By: Comfortably Anonymous
Viewed: 1956 times
No Summary
Posted At: 3/28/2003 11:31:51 AM
Posted By: Comfortably Anonymous
Viewed: 1279 times
No Summary
Posted At: 9/16/2002 1:00:09 PM
Posted By: Comfortably Anonymous
Viewed: 1509 times
No Summary
Posted At: 6/24/2002 10:59:31 AM
Posted By: Comfortably Anonymous
Viewed: 1218 times
No Summary
Posted At: 8/3/2001 7:11:43 PM
Posted By: Comfortably Anonymous
Viewed: 1614 times
No Summary