background preloader

Software Dev

Facebook Twitter

Scalable Vector Graphics. Scalable Vector Graphics (SVG) is an XML-based vector image format for two-dimensional graphics with support for interactivity and animation. The SVG specification is an open standard developed by the World Wide Web Consortium (W3C) since 1999. SVG images and their behaviors are defined in XML text files. This means that they can be searched, indexed, scripted, and compressed.

As XML files, SVG images can be created and edited with any text editor, but are more often created with drawing software. Overview[edit] This image illustrates the difference between bitmap and vector images. The bitmap image is composed of a fixed set of dots, while the vector image is composed of a fixed set of shapes. SVG has been in development since 1999 by a group of companies within the W3C after the competing standards Precision Graphics Markup Language (PGML, developed from Adobe's PostScript) and Vector Markup Language (VML, developed from Microsoft's RTF) were submitted to W3C in 1998.

Printing[edit] Text. Hibernate Best Practices. IDictionary Options - Performance Test - SortedList vs. SortedDictionary vs. Dictionary vs. Hashtable. Please note that the advantage of Hashtable over generic Dictionary for insert and search operations demonstrated here is actually because the tests are based on NON generic IDictionary interface, so each insert or search action is accompanied with check for the key type. For more information see the Sean's comment below. (Thanks Sean!) Without that Dictionary seem to perform better than the Hashtable. The rest of the test conclusions will not be affected. So to summarize, generic Dictionary is the absolute winner for insert and search operations if used with generic dictionary interface or directly.

This is a sequence of tests comparing the performance results for four different implementations of IDictionary and in particular generic Dictionary, generic SortedDictionary, the old non-generic Hashtable and generic SortedList. I performed the tests in five stages, to observe the relationship between the number of entries and the performance. This is the chart of the memory usage: C# Reference. Open Source Rule Engines in C# Implementation Issues of Authorization Mechanisms in Grid Computing Systems.

XAML Overview (WPF) XAML is a declarative markup language. As applied to the .NET Framework programming model, XAML simplifies creating a UI for a .NET Framework application. You can create visible UI elements in the declarative XAML markup, and then separate the UI definition from the run-time logic by using code-behind files, joined to the markup through partial class definitions. XAML directly represents the instantiation of objects in a specific set of backing types defined in assemblies. This is unlike most other markup languages, which are typically an interpreted language without such a direct tie to a backing type system.

XAML enables a workflow where separate parties can work on the UI and the logic of an application, using potentially different tools. When represented as text, XAML files are XML files that generally have the .xaml extension. The files can be encoded by any XML encoding, but encoding as UTF-8 is typical. The following example shows how you might create a button as part of a UI. Enterprise Integration Patterns - Messaging Bridge. Windows Workflow Foundation Overview. Windows Workflow Foundation is a framework that enables users to create system or human workflows in their applications written for Windows Vista, Windows XP, and the Windows Server 2003 operating systems. It consists of a namespace, an in-process workflow engine, and designers for Visual Studio 2005. Windows Workflow Foundation can be used to solve simple scenarios, such as showing UI controls based on user input, or complex scenarios encountered by large enterprises, such as order processing and inventory control.

Windows Workflow Foundation comes with a programming model, a rehostable and customizable workflow engine, and tools for quickly building workflow-enabled applications on Windows. Scenarios that Windows Workflow Foundation addresses include: Enabling workflow within line-of-business applications. User-interface page flows. Document-centric workflows. The concepts in this section are inherent to Windows Workflow Foundation. In This Section See Also. Demos - APE (Ajax Push Engine) :: Comet server :: Real time data streaming. Build a Google IG like AJAX Start Page in 7 days using ASP.NET AJAX and .NET 3.0. Update: There's a new article which explains the latest development of this project. Read here. Introduction I will show you how I built a start page similar to Google IG in 7 nights using ASP.NET AJAX, .NET 3.0, LINQ, DLinq and XLinq. I have logged my day to day development experience in this article, and documented all the technical challenges, interesting discoveries and important design and architectural decisions.

You will find the implementation quite close to the actual Google IG. Updates Jan 6, 2007: Scott Guthrie showed me how to improve ASP.NET AJAX client side performance by switching to debug="false" in web.config. What is a Web 2.0 AJAX Start Page A Start Page allows you to build your own homepage by dragging and dropping widgets on the page. Some of the popular AJAX Start Pages are Pageflakes, Live, Google IG, Netvibes, Protopage, Webwag etc. Features Build your page by dragging and dropping widgets. Widgets Technologies Web Layer But how about performance?

DLinq is so much fun. Chapter 1. Using Spring AMQP. Chapter 1. Using Spring AMQP In this chapter, we will explore interface and classes that are the essential components for developing applications with Spring AMQP. The Spring AMQP project consists of a few assemblies. The assembly Spring.Messaging.Amqp contains the classes that represent the core AMQP "model". Our intention is to provide generic abstractions that do not rely on any particular AMQP broker implementation or client library.

As a result, end user code will be more portable across vendor implementations as it can be developed against the abstraction layer only. These abstractions are then used implemented by broker-specific modules, such as 'Spring.Messaging.Amqp.Rabbit'. The overview here assumes that you are already familiar with the basics of the AMQP specification already. The 0-8 and 0-9-1 AMQP specifications do not define an Message class or interface. The IExchange interface represents an AMQP Exchange, which is what a Message Producer sends to. 1.2. 1.5.1. 1.5.2.

Chapter 1: Authentication Patterns. Web Service Security: Scenarios, Patterns, and Implementation Guidance for Web Services Enhancements (WSE) 3.0 Microsoft Corporation patterns & practices Developer CenterWeb Service Security: Home December 2005 Contents IntroductionImportant ConceptsDirect Authentication vs. Brokered AuthenticationAuthorization MethodsMore Information Introduction As computer systems have increased in complexity, the challenge of authenticating users has also increased.

This chapter provides architectural patterns for direct authentication and brokered authentication, along with three brokered authentication design patterns that illustrate authentication using the Kerberos protocol, X.509, and a Security Token Service (STS). Figure 1. Authentication is considered to be a primary security feature because mechanisms used for authentication often influence mechanisms used for enabling other security features, such as data confidentiality and data origin authentication.

Important Concepts Authentication. Policy. WPF Command-Pattern Applied. Download source - 79.5 KB Introduction WPF Commanding offers the base for integration of the GoF Command pattern into an application. This article describes an approach with the following goals: Program Architecture Creation of functional units in hierarchies Reduction of complexity in large applications Automated testing Reusability of the pattern and the commands Command Description Description of a command should be neutral to the GUI in use Commands should be easy to localize Command Runtime Behaviour Static parameter (per command instance) Context sensitive runtime data Source provided runtime parameters (ICommandSource.CommandParameter) UI Integration Images and ToolTips with Gestures for existing command sources (Button and MenuItem) Visualization of a Disabled state for Button controls Selectable binding via XAML or Code-Behind Integration of existing WPF commands as for example the System.Windows.Documents.EditingCommands Command Repository Command Command Runtime Behaviour Usage.

Complex Layout Demo. Layouts Inside Tabs. Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Sed Non Urna Donec et ante. Vivamus non quam. Nam enim risus, molestie et, porta ac, aliquam ac, risus. Phasellus ac libero ac tellus pellentesque semper. List item one List item two List item three Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Cras dictum.

Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est. Suspendisse eu nisl. Layouts Inside Tabs. Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Sed Non Urna Donec et ante. Vivamus non quam. Nam enim risus, molestie et, porta ac, aliquam ac, risus. Phasellus ac libero ac tellus pellentesque semper.

List item one List item two List item three Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Another Item Cras dictum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est. Suspendisse eu nisl. Developing Widgets with ASP.NET, WCF, and jQuery. Download source code - 43 KB Introduction Let me start with some definitions and a description of the problem I'm trying to solve.

One of the well known problems of the modern web is an ability to embed pieces of someone else's code, sometimes repackaged into a different presentation and displayed as part of your own page. We all see banners on portal pages, little Google maps displaying directions to your department store or a doctor's office. We see pages like iGoogle which you can customize to your needs by choosing and arranging your clocks, daily weather, GMail, cnn.com news, stock market tickers, and numerous other tools on one page. Let's follow Wikipedia and refer to these little snippets as web widgets. Now, we have a widget, and a mashup page where this widget resides. This article demonstrates two techniques to develop such widgets using ASP.NET: IFRAME, and embedding widgets dynamically into a mashup page using JavaScript and jQuery. Background IFRAME: Pros and Cons IFRAME: Example.

HTML5Trends.com | HTML5 News | HTML5 Views | HTML5 Tutorials. Best practices for software development projects. © Copyright International Business Machines Corporation 2003. All rights reserved. Introduction Most software projects fail. In fact, the Standish group reports that over 80% of projects are unsuccessful either because they are over budget, late, missing function, or a combination. Moreover, 30% of software projects are so poorly executed that they are canceled before completion. In our experience, software projects using modern technologies such as Java, J2EE, XML, and Web Services are no exception to this rule. This article contains a summary of best practices for software development projects. Back to top Best practices 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. Conclusion This article provided a list of best practices that help improve the success of a software development project.