Aug 28

Recently Adobe released new version of Coldfusion in which they put a lot of Ajax features. For example user interface controls, proxy for data exchange and Ajax logging and debugging.
View demos here.
View Coldfusion web page

Aug 28

Recently I came across this piece of software, it a solitaire game build on top of YUI. It is developed by Robert Schultz and over here you can read an interview with him.
Here is the game itself.

Aug 26

Наскоро Microsoft представиха последните версии на Visual Studio 2008 и .NET 3.5 beta 2. Visual Studio 2008 можете да изтеглите от тук, а умалената експрес версия от тук. Важно е да отблежим, че новите версии можете да инсталирате съвместно с по-старата VS 2005.

Ето и някои от последните нововъведения в Visual Studio 2008:

- Поддръжка на Multi-Targeting – VS 2008 ви дава възможност да създавате приложения предназначени за различни версии на .NET Framework. Лесно може да се превключва от една версия на друга.

- VS 2008 Web Designer и поддръжка на CSS – в тази версия е включен подобрен HTML web designer. В него се поддържат ‘двоен’(сплит) изглед, внедрени една в друга master pages, и подобрена CSS поддръжка.

- ASP.NET AJAX и поддръжка на JavaScript – в .NET 3.5, ASP.NET AJAX е внедрен, както и са добавени нови функционалности като UpdatePanel с WebParts, поддръжка на WCF за JSON, и редица други подобрения по бързодействието. VS 2008 има и увеличена поддръжка относно интегрирането на JavaScript и AJAX в приложенията. Новото студио се отличава с подобрен Intellisense, който дори работи при включени външни JavaScript файлове.

- Езикови подобрения и LINQ – новите компилатори на VB и C# имат доста подобрения относно функциите на езиците. Това основно се забелязва при LINQ(language integrated query) който добавя нови възможности при заявки и работа с данни. Ето и някой от подобренията налични в C#:
o Automatic Properties, Object Initializer and Collection Initializers
o Extension Methods
o Lambda Expressions
o Query Syntax
o Anonymous Types

- Подобрен достъп до данни чрез LINQ към SQL
LINQ към SQL е внедрен OR/M (object relational mapper) в .NET 3.5. Той ви дава възможност да правите заявки чрез LINQ, както и да редактирате/изтривате и вмъквате нови записи. LINQ към SQL напълно поддържа транзакции, изгледи и запазени процедури.

Това са само някои от многото подобрения представени в новата версия. Дотук всичко е добре, но лично за мен остават отворени въпросите:
- Ще успеят ли да разработят всичките езикови подобрения и за Visual Basic?
- Ще успеят ли до Февруари 2008 да са готови с крайната версия?

Aug 23

DevReach 2007, the premier event for professional developers in South Eastern Europe, is coming your way! Held in Sofia, Bulgaria, DevReach brings together the development community and acclaimed international speakers for a practical talk on the latest Microsoft technologies. The event is organized by Telerik and Kulov.net and supported by Microsoft Bulgaria.

Following last year’s success, DevReach 2007 will try to raise the bar even further - more speakers, more sessions and more expert-level content. Several of last year’s lectors such as Richard Campbell, Carl Franklin, Stephen Forte and Goksin Bakir will be joined by other renown community figures such as Tim Huckaby, who will be making the keynote, Miguel Castro, Dino Esposito, Joel Semeniuk, Lino Tadros and others.

The conference will offer 4 simultaneous tracks with more than 40 practical sessions in 2 days. All sessions will be recorded and will be available to attendees for viewing after the end of the conference.
more for the event

Aug 20

Scott Guthrie again shows one of the new feature of the new Visual Studio 2008 which is the improved designer support for ASP.NET AJAX Control Extenders.

What are ASP.NET Control Extenders?

ASP.NET Control Extenders are controls that derive from the System.Web.UI.ExtenderControl base class, and which can be used to add additional functionality (usually AJAX or JavaScript support) to existing controls already declared on a page. They enable developers to nicely encapsulate UI behavior, and make it really easy to add richer functionality to an application.

The ASP.NET AJAX Control Toolkit is a great example of a project that takes advantage of this control extender functionality. It includes more than 40+ free control extenders that you can easily download and use to add AJAX functionality to your applications.

For example, let’s assume we wanted to have a textbox on a page where a user could enter a date:

If the browser has JavaScript enabled, we might want to have a nice client-side calendar date picker appear when the user sets the focus on the date textbox to help with selecting the date:

Enabling this is trivial using the ASP.NET AJAX Control Toolkit. Just add the “CalendarExtender” control that ships with it to the page and point its “TargetControlID” property at the :

The CalendarExtender now automatically emits an ASP.NET AJAX javascript client script that adds the client-side calendar behavior to the TextBox at runtime. No additional code is required.


Using ASP.NET AJAX Control Extenders in VS 2008

With VS 2005 you had to manually wire-up control extenders yourself (either via source-view or via the property grid).

VS 2008 makes it even easier to discover and attach control extenders to your controls.
read original

Aug 16

Здравейте, днес ще разгледаме как да правим красиви краища на HTML елементите. За целта ще използваме jQuery което е JavaScript библиотека за по-бърза работа със събития, ХТМЛ елементи и помага и за лесното добавяне на Ajax към проектите ни.

Ето как изглеждат няколко елемнта направени с jQuery и допълнителната библиотека на Mike Alsup

За начало трябва да си изтеглим последна верися на jQuery. Тук има сравнително нова верися, която компресирана е с размер ~20kb!!
Ще ни трябва и библиотеката която прави специалните ъгли, нея можем да изтеглим от тук.

Какво трябва да направим:
1. Добавяме стилова декларация. Тук има малък tweak за Сафари, трябва изрично да декларираме фона на елемента който ще съдържа украсеният. Ако не го направим Сафари показва черен цвят:

body { font: Verdana,Arial,sans-serif; background: #FFFFFF;}div.demo { padding: 6px; background: #d7e7f6; color:#313131; font: verdana, arial, sans-serif; font-size:13px; font-weight:bold;}

2. Декларираме 2та JavaScript-а jquery-1.1.3.1.pack.js и jquery.corner.js (точно в тази последователност)

3. Добавяме скрипт който указва какво ще манипулираме при зарждането на документа. Така показваме че всеки елемент от клас демо ще бъде преобразен. Това е кратко написана функицята $(document).ready(), но за нея ще говорим повече друг път.

$(function(){$("div.demo").corner();});

4. Декларираме елемента който искаме да ‘украсим’

Списък с възможните стилове, ако не се укаже по подразбиране ефекта е round:
Round - $(this).corner();
Bevel - $(this).corner(”bevel”);
Notch - $(this).corner(”notch”);
Bite - $(this).corner(”bite”);
Cool - $(this).corner(”cool”);
Sharp - $(this).corner(”sharp”);
Slide - $(this).corner(”slide”);
Jut - $(this).corner(”jut”);
Curl - $(this).corner(”curl”);
Tear - $(this).corner(”tear”);
Fray - $(this).corner(”fray”);
Wicked - $(this).corner(”wicked”);
Sculpt - $(this).corner(”sculpt”);
Long - $(this).corner(”long”);
Dog Ear - $(this).corner(”dog”);
Dog2 - $(this).corner(”dog2″);
Dog3 - $(this).corner(”dog3″);

Препоръки
- Възможно е указването на размера на украсения край да става в пиксели: $(this).corner(”bevel 4px”);
- Възможно е да посочим само горните два ъгъла да са различни: $(this).corner(”bevel top”);
- Използвайте само px размери при указване на отстояние и граници.
- Не използвайте картинка за фон на парент елемента.
- За бързодействие намалете броя на използваните украсени елементи, както и размера им.
- Показани всички примери можете да видите тук

Aug 08

Folks at ajaxian.com had this post today:

The Adobe bus tour has published some videos from the first leg of the tour.

Andre Charland spoke on how to build Ajax applications on Air. The talk has good demos and examples, such as the Salesforce.com demo.

Kevin Hoyt also gave some good JavaScript-y talks such as:

The second leg of the bus kicks off next week, and you can check out if it hits a city near you. I am hoping to be on the third leg at some point.

read source

Aug 08

Simon Willison has posted a short presentation, jQuery in 15 minutes.
Here it is:

view original

Aug 07

Here is latest post from ScottGu’s blog. There he describes how to build a custom RSS Feed Reader using LINQ to XML. Check it out:

One of the big programming model improvements being made in .NET 3.5 is the work being done to make querying data a first class programming concept. We call this overall querying programming model “LINQ”, which stands for .NET Language Integrated Query.

LINQ supports a rich extensibility model that facilitates the creation of efficient domain-specific providers for data sources. .NET 3.5 ships with built-in libraries that enable LINQ support against Objects, XML, and Databases.


What is LINQ to XML?

LINQ to XML is a built-in LINQ data provider that is implemented within the “System.Xml.Linq” namespace in .NET 3.5.

LINQ to XML provides a clean programming model that enables you to read, construct and write XML data. You can use LINQ to XML to perform LINQ queries over XML that you retrieve from the file-system, from a remote HTTP URL or web-service, or from any in-memory XML content.

LINQ to XML provides much richer (and easier) querying and data shaping support than the low-level XmlReader/XmlWriter API in .NET today. It also ends up being much more efficient (and uses much less memory) than the DOM API that XmlDocument provides.


Using LINQ to XML to query a local XML File

To get a sense of how LINQ to XML works, we can create a simple XML file on our local file-system like below that uses a custom schema we’ve defined to store RSS feeds:

I could then use the new XDocument class within the System.Xml.Linq namespace to open and query the XML document above. Specifically, I want to filter the elements in the XML file and return a sequence of the non-disabled RSS feeds (where a disabled feed is a element with a “status” attribute whose value is “disabled”). I could accomplish this by writing the code below:

VB:

read whole article

Aug 03

Thats an interesting post from Scott Guthrie’s blog about JavaScript Intellisense for Silverlight:

In addition to shipping VS 2008 and .NET 3.5 Beta 2 last week, my team also shipped the first release candidate of Silverlight 1.0 (it was a busy week at the office!). You can download the Silverlight 1.0 RC here.

I blogged about our Silverlight plans and roadmap a few months ago. This first Silverlight 1.0 release is focused on enabling rich media scenarios, and delivers high quality video and audio streaming and XAML based vector graphics and animation support in the browser. Silverlight is cross browser and cross platform, and can be easily added to any HTML page. Silverlight 1.0 supports a JavaScript programming model that makes it easy to integrate into an AJAX based page experience (note: Silverlight 1.1 will then add a cross-platform .NET framework programming model and enable RIA support).

JavaScript Intellisense for Silverlight 1.0

Over the last few weeks I’ve blogged about the new VS 2008 JavaScript Intellisense and VS 2008 JavaScript Debugging features in Beta 2. In addition to using these JavaScript tooling features when building pure HTML AJAX solutions, you can also now take advantage of them when targeting Silverlight 1.0.

Justin-Josef Angel earlier today released an awesome Silverlight 1.0 JavaScript Intellisense CodePlex Project that helps dramatically with this. It includes some nice annotated JavaScript helper methods that provide the ability to work with any XAML element in Silverlight with full intellisense in VS 2008.

To use it, simply add his JavaScript library to the top of your page:

You can then use Justin’s helper functions to take late-bound objects and indicate their JavaScript type:

This will then cause the VS 2008 JavaScript intellisense engine to automatically provide intellisense and syntax checking for you:

You can learn all about Justin’s library via his excellent tutorial post here. You can then download and participate in the codeplex project here.


read original

TopOfBlogs