The ‘Web application programming’ Archives
Posted April 4, 2008 by

Symfony: Fix propel-insert-sql error: Can’t connect to local MySQL server

After building your model and the SQL code to represent it, symfony offers a mechanism to insert the SQL code directly into your configured database. If you are running MySQL locally, this should work for you with no additional configuration. If you are running MySQL on another server, as is common in shared web hosting […]

Category Symfony

Posted March 8, 2008 by

PHP: Print the current year for copyright notices

Hardcoding the year in a copyright notice is an easy way to get a blog or other website started, just placing the starting and ending years next to the copyright symbol. We have the very best of intentions to change this number right after the big ball drops in Times Square each year. We’re also […]

Category PHP programming

Posted March 6, 2008 by

Dreamweaver CS3: Change How Text is Pasted into Design View

Pasting the text from another application into Dreamweaver’s design view can be rather messy. This is due to the default settings, as they keep the original structure and basic formatting of the originating application. Fortunately, the defaults can be changed to better meet your main needs and using Paste Special can be used for situations […]

Posted January 22, 2008 by

Fix for ASP Pages That Will Not Display an ADO Recordset based on a #Temp Table

Here’s the problem: your asp page is designed to display the data contained in an SQL generated #temp table. When you run the page, you get an error that states that the operation is not allowed when the object is closed. If you execute the SQL command in a query window though, the data is […]

Posted September 17, 2007 by

Symfony: Add log message manually

When troubleshooting a complex web application (or a simple one), there are times that sending a message to a log file will help. Two command syntaxes are required depending on if you are in an action or a template. When using the development environment of an application in Symfony, the log message will show up […]

Category Symfony

Posted August 6, 2007 by

Symfony: Troubleshooting file uploads

The Symfony framework is an amazing project which brings many best practices to the hands of mortal coders. It’s also a dauntingly vast system with many subdirectories and classes. While trekking your way up the learning curve, you may run into hurdles which seem daunting. One possible gotcha involves adding file uploading to an existing […]

Category Symfony

Posted July 16, 2007 by

Visual Web Developer: Enable AutoRecover and Set Save Interval

Using AutoRecover can be a real lifesaver, especially if disaster strikes and you lose all of that great coding that you were working on. By default, Visual Web Developer has AutoRecover disabled. To enable AutoRecover and set the save and retention intervals, follow these steps:

Posted February 5, 2007 by

Dreamweaver 8: Insert Flash Buttons

A Flash button is a quick Flash movie that acts like a rollover image. You can build Flash buttons in Dreamweaver without any other tools, to do this . . .

Posted January 18, 2007 by

Microsoft Expression Web: How To Clear the MRU List for Find and Replace

Expression Web saves a list of your recently used searches to provide easy access to them by clicking the Most Recently Used button. You may find that you need to clear this out since you no longer need some or all of the searches. To clear the MRU list for Find and Replace, do the […]

Posted January 16, 2007 by

Microsoft Expression Web: Allow Users to Sort Data Displayed in Grid

In some situations, it works best to allow users to be able to sort the displayed data as they need to. Not everyone needs the data sorted in the same manner. You can give your users the choice as to how they want the data displayed in the GridView control by doing this…

Posted January 13, 2007 by

Microsoft Expression Web: Set the Transparency of an Image

Giving a color transparency in Expression Web can be quite useful, especially if the image has a background color different from that of the page. To do this…

Posted January 12, 2007 by

Microsoft Expression Web: How To Rename a Style Class

If you need to rename a style class, you need to follow the correct procedures in order to have the application update all references to that style class. Failing to do that will result in the need to manually update each reference. To rename a style class and update all references to that style, do […]