All Posts Tagged Tag: ‘Code’
Flash components received a major upgrade in Flash MX 2004. One of the areas that received a facelift is the skinning mechanism. Flash 8 introduces some changes to the workflow in the authoring environment and references to paths. If you have read the earlier version of this article on skinning the Flash MX 2004 component, this article will seem very familiar because I upgraded it to reflect the changes in Flash 8.
In this article, I cover skinning using the library and themes, and through code I explore skinning using the prototype method, subclassing a component class, and the initObject method. Armed with this knowledge, you will be able to take better control of your application’s look and feel and have a good understanding of how flexible the skinning architecture is in Flash 8.
It was announced earlier today that Google would be releasing an in-browser video player plug-in, designed seemingly to make Google Video a more interactive experience, instead of one that searches video but returns only text (readable instead of watchable) results.
Shortly after the Google video search feature was launched, company co-founder Larry Page issued a request for people to submit their personal videos, which Google would then catalog and make searchable. Apparently, the response to Page’s appeal was considerable because Google is launching a video playback service that will allow users to access this content, considering they know how to query Google’s database.
Google’s “Summer of Code” has been such a popular program that Google has been forced to double the funding for the program to accept 400 students, reports Slashdot.
When you use Java for simple business arithmetic, you may be surprised to discover that Java doesn’t always produce the right answers. If, for example, you use the double data type for an invoice’s subtotal, sales tax, and total, your arithmetic expressions may deliver inaccurate results. I’ll illustrate this in a moment.
Previously I wrote an article titled Prompting a User to Save When Leaving a Page, which looked at how to use the client-side
onbeforeunload event to display a confirmation messagebox when a user attempted to leave a data-entry page after having modified the data’s contents without explicitly saving the data.
In a world where legacy languages often prevail, we are reluctant to move away from them by reciting the well known mantra, “If it ain’t broken, don’t fix it”. This mantra only gets you so far, until your competitor takes advantage of the newer, faster, more efficient, and more maintainable technologies, and you are left in the dust with your “pristine-aint-broke” legacy code.
PHP can be used for a lot of different things, and is one of the most powerful scripting languages available on the web. Not to mention it’s extremely cheap and widely used. However, one thing that PHP is lacking, and in fact most scripting languages are, is a way to update pages in real-time, without having to reload a page or submit a form.
Inevitably, with the launch of a new search engine, especially one the size of MSN Search, there is an outcry of people wanting to know how to improve their result position. Questions like “How do I optimize my site to rank well?” and “Does this engine base more relevance on in-bound links or on-page content?” are quite common.
Let’s begin by taking a look at client-side code optimization — the easiest and generally cheapest to implement of the three site acceleration techniques.
Expansion of Government Security Program Enables Greater Level of Cooperation, Transparency and Interoperability by Giving Governments Access To Microsoft Office 2003 Source Code.
As of now – Great Plains Dynamics/eEnterprise is transformed/renamed into Microsoft Great Plains and Microsoft Business Solutions is in process of merging all its accounting applications: Great Plains, Solomon, Navision and Axapta into somewhat granular: Microsoft Financials, Microsoft HR, Microsoft Distributions, Microsoft Project Accounting, etc. So the original design of Great Plains should be deemphasized. But even now – Great Plains is written on the programming language and technology, created in early 1990-th, named Great Plains Dexterity. And the graphical interface looks very user friendly and nice – these are all Dexterity forms and screens. In some cases of Dexterity customization you need access to Dexterity Source code (DYNAMICS.DIC with all the scripts). Currently MBS doesn’t offer new MBS Partners this program – you can only have access to the source code if you was in the program when it was available for newcomers.
When application developers are developing, parameters are often hard-coded in the source code. These hard-coded parameters are often pulled out of the source code and put into property files or configuration files. System and network security policies may force a developer to address security concerns over the data that is stored in external files. So, how do you make sure that your sensitive external parameters are safe?
Java filters, first introduced in the Java Servlet specification 2.3, are a powerful addition to any Java Web application toolkit, yet they probably are the most under-used and under-appreciated of the servlet components. These classes intercept requests coming into and responses coming out of the Java servlet container, allowing developers to inspect and manipulate these messages, as well as take other actions based on the messages’ content. Despite this useful functionality, many Java developers are unfamiliar with filters.
Most computer users, especially software engineers, have had a need to modify multiple files to either add a line of text, modify a line of text, or completely remove a line of text. The problem is that there never seems to be a piece of software out there that can help you with this problem. Some programs let you get close to doing what you want but in my experience none ever let you do exactly what you want; so a few hours are spent opening each file and editing them manually.
Search engines like quality content – the more, generally speaking, the better. Clogging up that well written on-page text that you spent so much time on (and search engine spiders like so much) with underlying page architecture code gets in the way of making your site more visible to search engines.
Have you ever wanted to create your very own RSS Feed? DO you have anything on your site you would like others to have access to?
An assembly is a file that is automatically generated by the compiler upon successful compilation of every .NET application. It can be either a Dynamic Link Library or an executable file. It is generated only once for an application and upon each subsequent compilation the assembly gets updated. The entire process will run in the background of your application; there is no need for you to learn deeply about assemblies. However, a basic knowledge about this topic will help you to understand the architecture behind a .NET application.
Code validation is still widely debated as to whether it is required for performance within the search engines. It is only a guess that the search engines don’t utilise it within their algorithm, but nobody is actually 100% sure on that fact. Tests are performed and results obtained with conflicting information whether code validation is taken into account. What’s new and interesting though, is the overwhelming popularity of XHTML.
In this example we will see how to use the ErrorProvider control in Windows forms to provide validations in Windows Forms and display user-friendly error messages to the user if the validation fails.
At the request of a fellow EasyCFM Forum user, we’re going to discuss how to use ColdFusion to manage remote files on the server. While the original request was only for .txt files specifically, we’re going to look at handling .txt, .cfm, .cfml, .htm, and .html. This can actually come in handy if you need to do a quick edit on a page on your Web site, but have no access to FTP clients…only a Web browser.In order for the code shown in this tutorial to work, all files to be edited must reside on the Web server, in the web root directory, in a directory called myfiles’. The tutorial will assume the following path:
In this example, we will personalize the settings for a mobile web application based on the user logged into the site. Personalization is a very useful approach to provide a satisfying user experience. Particularly in Mobile applications where the small size of the device is often a hindrance in data input, the user can be more comfortable when the amount of data entry is reduced when some commonly used settings are persisted in a secure manner.
We will create a mobile stock quote tracker program in this article. The program retrieves the real time quotes of symbols specified by the user and displays the results in a user friendly format. The user can also specify the high and low thresholds for setting alerts. The View Stock Alerts screen displays the stocks that have crossed above the high threshold and stocks that have values below the low threshold.
The stock symbols selected by the user are stored in a simple MS Access database containing a single table “tblStk”
Here is the data structure of tblStk
In this article we will examine a few examples for executing shell commands outside of our program using C#. In VB.Net, we can make use of the familiar Shell command to run an executable program. However the Shell function is not available in C#. The Process Class provides access to local and remote processes and enables you to start and stop local system processes.
A nice feature that I’ve seen implemented on a few Web sites is the ability for the visitor to view their clickstream (essentially, the path they’ve taken through your site). This allows the user to jump back to a particular page they’ve visited at any time.
The Email List application
This topic introduces you to a simple web application that consists of one HTML page and one JavaServer Page, or JSP. Once you get the general idea of how this application works, you’ll be ready to learn the specific skills that you need for developing JSPs.
This tutorial shows how to use a Java servlet, a JavaServer Page (JSP), and a static Java class to create an application that can be used to interactively execute any standard SQL statement against a database that’s running on a server. You can use an application like this one to work with a database as you’re developing an application. In this article, this application will be referred to as the SQL Gateway application.
Welcome back to part two of the Code Gallery Spotlight of the PHP based Photo Gallery called “AutoGallery”. Last week, I discussed with you the general idea of the AutoGallery’s image management and introduced the constructor used to initialize the variables in the AutoGallery class. This week, I’ll take a look at the two functions that the constructor calls after initialization resize() and cleanup() and how they perform the necessary management of the gallery images. Let’s start with the resize() function.
Regular expressions are hard to write, hard to read, and hard to maintain. Plus, they are often wrong, matching unexpected text and missing valid text. The problem stems from the power and expressiveness of regular expressions. Each metacharacter packs power and nuance, making code impossible to decipher without resorting to mental gymnastics.
Working in Java either means writing a little bit of complex code or writing a lot of gruntwork code. J2EE is a prime example; implementing the persistence for a single database table takes five classes and two interfaces using EJBs, and almost all of the classes are clerical work. We have to write them, but we don’t have to do it by hand. Code-generation techniques can make building high-quality EJB code a breeze.
Extreme Programming, or XP, isn’t so much revolutionary as it is evolutionary. Developers have known the value of code reviews, testing, and good communication for decades, though we’ve ignored that knowledge far too often in practice. Five Lessons You Should Learn from Extreme Programming explained several XP practices that apply to non-XP projects. A little common sense, a bit of learning from failure, and a lot of discipline can improve your team.
In the past I worked very much with ASP and everything was fine for me. But I thought why not try the newer Technology of Microsoft called ASP.NET ( Active Server Pages ). In this Article I will try to explain the basics of ASP.NET. I will not only explain the theoretical part but I also will show you some practical “hello world ” style examples. For these examples I will use C#, and VB.NET. If you have any comments, suggestions, or any questions, please feel free to contact me. I will try to answer all questions as good as I can. So take a cup of tea, have a seat on your favorite place and enjoy this article.
Storing and displaying data is a common and essential task, if you are working with Applications. It doesn’t matter whether you are working with desktop Applications or WebApplications.
Performance tuning software is like a wicked game of Twister. You end up using arms and legs to keep the performance knobs in perfect harmony. And just when you think you’ve got it all under control, tweaking code or changing the runtime environment can send performance into a death spiral. In this article we’ll learn how to tune with more confidence and less stress by writing automated performance tests that tell no lies.
Welcome to another “How-to” article in Visual C#.NET. This article will focus on the Network functions within the Win32 API library associated with Network Management. The first thing is to point out is that there are two ways to manage users using the .NET Framework, the first being the Active Directory method, as you will notice you need to have Active Directory Installed and if you were managing users on a small network or on a stand alone station Active Directory won’t be install and it would be not worth installing it.
Being able to code C# with Excel 2003 is great fun but now its time for something a bit more useful.
This next code sample shows how to connect to the internet inside of Excel. The idea is when the workbook opens the code behind the workbook searches for quotes on NASDAQ and then populates the spreadsheet with the data. You can imagine you could have a spreadsheet full of data which is retrieved from data sources on company servers and internet sources etc. As you can see coding for excel in C# allows you to leverage your C# skills and re-use them in the world of Excel spreadsheets.
Unless you’ve been living under a rock for the last several years, you’ve no doubt been bombarded with the hype surrounding a simple, plain text technology named XML – eXtensible Markup Language. But even with the books, magazines, and web sites dedicated to XML, many developers still have no idea what XML really is, or even how they can use XML in their applications.
As an IIS administrator it sometimes gets downright annoying having to fend off all the insults from Apache admins I meet claming innate server superiority. Generally the discussion about Web administration starts first with all the various security holes plaguing IIS and the negative press the platform garnered over the last year.
Most programmers do not write tests. We all know that we should write them, but for whatever reason, most of us don’t. This is unfortunate, because testing is the most powerful tool we know of to improve software quality. Tests reduce bugs, provide accurate documentation, and improve design.