Tapestry for Nonbelievers
A new article by I. Drobiazko and R. Zubairov introduces v. 5 of the Apache Tapestry component-oriented web framework. The tutorial shows how to create a component and covers IoC in Tapestry and Ajax.
Tracking change and innovation in the enterprise software development community
Posted by Jonathan Allen on May 07, 2008 06:31 AM
Collection initializers were supposed to be released along with LINQ in C# 3 and VB 9. While C# did get them, they were cut from the VB release. Part of the reason was the Visual Basic team wanted to make VB's version more powerful.
In C#, collection initializers are limited to explicitly known types. For VB, Microsoft wants to also support inferred types. This would allow developers to write statements such as:
Dim x = {1, 2, 3, 4}
Dim y = {{"a", 1}, {"b", 2}, {"c", 3}, {"d", 4}}
Dim z = {{1, 2}, {3, 4}, {5, 6}, {7, 8}}
There is, however, some debate on exactly what this syntax should mean. Some argue that in all cases it should return arrays, while others want to see lists and dictionaries. Part of this stems from the fact that VB does not have a clean syntax for quickly defining tuples. Tuples are increasing becoming important as we move towards more functional programming and dynamic typing.
Anthony Green brings up the issue of jagged vs. rectangular arrays. In our example, variable z could be either Integer(,) or Integer()() (C# int[,] and int[][]).
Bill McCarthy suggestion for one-dimensional collections seems to be popular:
Dim x = {1, 2, 3, 4} 'List(Of Int32)
Dim x() = {1, 2, 3, 4} 'array of Int32
And to handle dictionaries, Ninputer offers this approach:
Dim d = {1:"Hello", 2:"World" }
You can follow the debate on Paul Vick's blog.
Info 2.0: IBM's vision for the world of Web 2.0 and enterprise mashups (Webcast)
IBM Web 2.0 Developer eKit: Free Tutorials, Webcasts, Whitepapers
IBM software architect eKit: Grady Booch podcast, whitepapers, articles
Fighter Jets and Agile Development at Lockheed Martin (Case study)
A new article by I. Drobiazko and R. Zubairov introduces v. 5 of the Apache Tapestry component-oriented web framework. The tutorial shows how to create a component and covers IoC in Tapestry and Ajax.
In this interview, Burton Group consultant Pete Lacey talks to Stefan Tilkov about his disillusionment with SOAP, his opinion on REST, and addresses some of the perceived shortcomings REST vs. WS-*.
Jay Fields presents his concept of Business Natural Languages - a type of Domain Specific Languages geared towards being readable by domain experts.
Adoption and interest for Distributed Version Control Systems is constantly rising. We will introduce the concept of DVCS and have a look at 3 actors in the area: git, Mercurial and Bazaar.
Deborah Hartmann interviewed Segundo Velasquez about his experience as customer with an Agile team during the initial phase of software design of a product.
David Cooksey shows how to fine grained versioning to a ClickOnce deployment using an HttpHandler written with ASP.NET, making partial rollouts to a test audience much easier.
Windows workflow (WF) is an excellent framework for implementing business processes, but lacks support for human activities. This article describes a completely generic approach for changing this.
In this interview taken during OOPSLA 2007, Markus Voelter talks about the importance of documenting the software architecture, and gives some good and also bad examples on how it could be done.
No comments
Reply