Delphi 9 (DiamondBack)!!!!! Vejam o que tem pela frente !!!!

20/08/2004

Há muitas coisas novas na próxima versão do Delphi. De acordo com Danny Thorpe (cientista principal da Borland) na próxima versão do Delphi, o compilador vai suporta uma nova estrutura de repetição, o loop ´for..in´. Esta *versão extendida* da estrutura de repetição for repete um grupo de instruções para cada elemento de um vetor (array) ou de uma coleção de objetos. Muito parecido com o loop foreach do C#? Mas ainda melhor! Vejam a sintaxe:
for <variable> in <container expression> do <statement>;
O loop ´for..in´ funciona como um for comum do Delphi, exteto pelo fato de que você não precisa predefinir uma variável de índice. Vejam um exemplo: [quote:cd2ebe6e1d][b:cd2ebe6e1d]type[/b:cd2ebe6e1d] TdotNetLang = (Delphi, CSharp, VBNet); TdotNetLangs = [b:cd2ebe6e1d]set of [/b:cd2ebe6e1d]TdotNetLang; [b:cd2ebe6e1d]procedure [/b:cd2ebe6e1d]ForLoopTest([b:cd2ebe6e1d]const [/b:cd2ebe6e1d]NetLanguage: TTdotNetLangs); [b:cd2ebe6e1d]var [/b:cd2ebe6e1d] L: TdotNetLang; [b:cd2ebe6e1d]begin[/b:cd2ebe6e1d] [b:cd2ebe6e1d]for [/b:cd2ebe6e1d]L [b:cd2ebe6e1d]in [/b:cd2ebe6e1d]NetLanguage [b:cd2ebe6e1d]do[/b:cd2ebe6e1d] // do something with L [b:cd2ebe6e1d]end[/b:cd2ebe6e1d];


A nova sintaxe for..in do Delphi vai suportar os tipode de dados que o compilador do Delphi sabe que contem multiplos elementos de um tipo uniforme de dados: arrays (de elementos), strings (de char), e até mesmo sets (de enums). [/quote:cd2ebe6e1d]


Alexandremarcondes

Respostas

20/08/2004

Alexandremarcondes

Gente, me desculpem, formatei a mensagem de forma errada, olhem só:

Há muitas coisas novas na próxima versão do Delphi. De acordo com Danny Thorpe (cientista principal da Borland) na próxima versão do Delphi, o compilador vai suporta uma nova estrutura de repetição, o loop ´for..in´. Esta *versão extendida* da estrutura de repetição for repete um grupo de instruções para cada elemento de um vetor (array) ou de uma coleção de objetos. Muito parecido com o loop foreach do C#? Mas ainda melhor!

Vejam a sintaxe:

for <variable> in <container expression> do <statement>;


O loop ´for..in´ funciona como um for comum do Delphi, exteto pelo fato de que você não precisa predefinir uma variável de índice.

Vejam um exemplo:

type
  TdotNetLang = (Delphi, CSharp, VBNet);
  TdotNetLangs = set of TdotNetLang;
procedure ForLoopTest(const NetLanguage: TTdotNetLangs);
var 
L: TdotNetLang;
begin
for L in NetLanguage do
// do something with L
end;


A nova sintaxe for..in do Delphi vai suportar os tipode de dados que o compilador do Delphi sabe que contem multiplos elementos de um tipo uniforme de dados: arrays (de elementos), strings (de char), e até mesmo sets (de enums).


Responder Citar

20/08/2004

Alexandremarcondes

Vejam o que Michael Swindell, o genente de produtos e diretor do Delphi na Borland sobre o Diamondback:

Rumor: ´Eu espero que o Diamondback seja mais do que apenas o Delphi 7 e o Delphi 8 combinados´ Fato: Muito mais. Se fosse apenas o Dephi 7 & 8 combinados, nós chamariamos simplesmente de ´Garter Snake´ Rumor: ´Diamondback terá duas IDEs, uma para o Win32 e uma para o .NET´ Fato: Diamondback terá apenas uma IDE :o) Rumor: ´Diamondback vai incluir ECO para ASP.NET, Refactoring, e Testes automatizados de units (Unit Testing)´ Fato: Isto é apenas uma pequena parte do que ele faz... Rumor: ´Diamondback unirá o Delphi, o C++ Builder e o C# em uma única IDE´ Fato: Dois terços disto é verdade para o Diamondback. Há uma chance de tudo isto acaber acontecendo, então este é um rumor com potencial



Responder Citar

20/08/2004

Alexandremarcondes

Quem tiver a oportunidade e quiser, na próxima Borcon (Borcon2004) o Diamondback será ostensivamente demonstrado vejam o que a Borland tem a dizer sobre isto:

Delphi developers, BorCon will be the first public showing anywhere of DiamondBack, the code name for the next version of Delphi. BorCon is the only place to learn all the exciting new features coming in Diamondback. Don´t miss this once in a lifetime opportunity to get an advance look at the future of Delphi! See all the latest Delphi features in the DiamondBack preview at BorCon 2004. Learn from in-depth DiamondBack tutorial sessions on: 2004 Overview of Delphi for the Microsoft .NET Framework John Kaster — Borland Type: Preconference Tutorial. Level: Beginning. This tutorial provides a complete overview of the development areas of the Delphi IDE. Developing and debugging, WinForms, VCL for .NET, ASP.NET development, model-powered application development with ECO, Web Services, and database connectivity are all covered. Prerequisites: Basic understanding of Delphi and the Microsoft .NET Framework. 2004 Saturday, September 11, 2004 — 2:00pm - 6:00pm 2012 ECO Boot Camp Malcolm Groves — Borland Type: Preconference Tutorial. Level: Beginning. Enterprise Core Objects (ECO) brings the power and productivity of model-driven architecture to Delphi 8 and C#Builder. This tutorial equips you to start exploiting this technology in your applications and covers: the class designer; object constraint language; derived attributes and derived relationships; association classes; persistence; ECO services; UI support, including data binding and the ECO Extender components; and using ECO with ASP.NET. Prerequisites: Knowledge of object-oriented concepts, as well as Delphi or C skills. No knoweldge of Bold, ECO or MDA required. 2012 Sunday, September 12, 2004 — 1:00pm - 5:00pm 3040 Microsoft .NET Framework Data Access Ramesh Theivendran - Borland and Cary Jensen Type: Preconference Tutorial. Level: Intermediate. This tutorial introduces basic relational data access in the Microsoft .NET Framework and discusses the various components of distributed database application development. We explore .NET remoting, message queue, and Web Services for building distributed applications. The tutorial also introduces object data access in Longhorn. Prerequisites: Microsoft .NET Framework knowledge helpful. 3040 Sunday, September 12, 2004 — 1:00pm - 5:00pm 3042 Complete ALM for the Microsoft .NET Framework John Kaster — Borland Type: Preconference Tutorial. Level: Intermediate. This tutorial covers the complete Application Lifecycle Management (ALM) integration solution with the Delphi IDE, including development, requirements management, configuration management, modeling, testing and debugging, performance tuning, documentation, and deploying applications. Prerequisites: Basic understanding of Delphi and Object Persistent Frameworks. 3042 Sunday, September 12, 2004 — 8:00am - 12:00pm 4000 Get Ready for Microsoft .NET Framework 2.0 Danny Thorpe — Borland Type: Preconference Tutorial. Level: Advanced. Come find out what´s new and changing in the next major release of the Microsoft .NET Framework. Prerequisites: Familiarity with .NET CLR. 4000 Saturday, September 11, 2004 — 9:00am - 1:00pm Learn from detailed DiamondBack technical sessions on: 1174 What´s New in Delphi Allen Bauer — Borland Type: Regular Session. Level: All. This session examines all of the new features of the Delphi IDE. Prerequisites: Familiarity with Delphi. 1174a Monday, September 13, 2004 — 10:00am - 11:15am 1174b Wednesday, September 15, 2004 — 8:00am - 9:15am 2156 Introduction to Enterprise Core Objects (ECO) Malcolm Groves — Borland Type: Regular Session. Level: Beginning. Enterprise Core Objects (ECO) bring the power and productivity of model-driven architecture to Delphi 8 and C#Builder. This session provides an overview of the technologies ECO provides, giving you enough background so that you can explore this exciting technology further, either at other sessions in the conference or afterward. Prerequisites: Knowledge of object-oriented concepts, as well as Delphi or C skills. No knowledge of Bold, ECO or MDA required. 2156a Monday, September 13, 2004 — 2:00pm - 3:15pm 2156b Tuesday, September 14, 2004 — 8:00am - 9:15am 2172 ECO for ASP.NET John Kaster — Borland Type: Regular Session. Level: Beginning. This session reveals how to build scalable, model-powered, distributed data applications that include browser-based clients using Enterprise Core Objects (ECO). Prerequisites: Understanding of ASP.NET. 2172a Tuesday, September 14, 2004 — 3:00pm - 4:15pm 2172b Wednesday, September 15, 2004 — 1:15pm - 2:30pm 3128 Delphi IDE Features for ASP.NET Under the Hood Jim Tierney — Borland Type: Regular Session. Level: Intermediate. Detailed information about Delphi IDE features for ASP.NET. Understand how Delphi works so that you can make it work for you. Prerequisites: Experience with Delphi or C#Builder recommended. 3128 Monday, September 13, 2004 — 5:00pm - 6:15pm 3148 What´s New in the Delphi Compiler Danny Thorpe — Borland Type: Regular Session. Level: Intermediate. Come see what´s cooking for language and compiler code generation enhancements in the next release of Delphi. Prerequisites: Familiarity with Delphi and the Microsoft .NET Framework. 3148a Monday, September 13, 2004 — 3:30pm - 4:45pm 3148b Tuesday, September 14, 2004 — 8:00am - 9:15am 3196 Introduction to Refactoring Jim Cooper — Falafel Software, Inc. Type: Regular Session. Level: Intermediate. Refactoring is the art of transforming existing code to make it more maintainable and reliable without changing functionality. The techniques used also encapsulate programming best practices. We examine some of the more useful methods. Prerequisites: Delphi development experience. 3196 Monday, September 13, 2004 — 2:00pm - 3:15pm 3208 Effective Delphi for .NET and C# Unit Testing with NUnit Charlie Calvert — Falafel Software, Inc. Type: Regular Session. Level: Intermediate. Learn how to create applications that are easy to test, and how to write tests that are easy to maintain. Unit testing is a fascinating technology that is designed to encourage developers to create easily reusable objects that promote proper object-oriented techniques. Prerequisites: Familiarity with Microsoft .NET Framework development in Delphi or C. 3208 Tuesday, September 14, 2004 — 9:30am - 10:45am 4100 Integrating into the Borland Data Provider Ramesh Theivendran — Borland Type: Regular Session. Level: Advanced. In this session, we introduce the various interfaces for integrating into the Borland Data Provider and getting design-time, run-time, and tools integration into the Delphi and C#Builder IDE. Prerequisites: Significant experience with Delphi, database development, and plug-in architectures 4100 Wednesday, September 15, 2004 — 11:00am - 12:15pm 4108 Extending CaliberRM with Add-ins and Delphi Micha Somers — Borland Type: Regular Session. Level: Advanced. Learn how to create a CaliberRM add-in with Delphi. This add-in enables us to create traces from our requirements (managed by CaliberRM) to external objects and perform operations on them. Prerequisites: Experience using Delphi and COM. 4108a Monday, September 13, 2004 — 2:00pm - 3:15pm 4108b Wednesday, September 15, 2004 — 1:15pm - 2:30pm 4110 Delphi for the Microsoft .NET Framework Open Tools API Marco Cantu — Wintech Italia Srl Type: Regular Session. Level: Advanced. More than in the past, the Delphi IDE allows programmers to write their own wizards and plug-ins. Prerequisites: Good knowledge of Delphi programming. 4110 Tuesday, September 14, 2004 — 3:00pm - 4:15pm 4138 CodeDOM Delphi Corbin Dunn — Borland Type: Regular Session. Level: Advanced. This session covers the Document Object Model (DOM) used to parse and generate Delphi code and shows how the developer can use this tool to generate and handle Delphi code. Prerequisites: Basic understanding of the Delphi language and the Microsoft .NET Framework. 4138 Tuesday, September 14, 2004 — 9:30am - 10:45am Save 66¬ on Delphi 8 plus Software Assurance. Conference attendees can order up to four copies with savings that will cover more than the cost of your flight and hotel. Software Assurance guarantees you all Delphi releases for 12 months, which will include DiamondBack. Meet the team that builds Delphi. You can meet face to face with the engineers who work on DiamondBack at the Monday night Meet the Delphi Team session. Come to BorCon 2004, where you can see Diamondback, learn everything about the new Delphi release, save money on Delphi, and meet directly with the engineers who build Delphi.



Responder Citar

24/08/2004

Marcosalex

Não sei se voces repararam, mas não tem nenhuma novidade na VCL Win32


Responder Citar

24/08/2004

Alexandremarcondes

Não sei se voces repararam, mas não tem nenhuma novidade na VCL Win32


Parece que as maiores mudanças vão ser na adição desse novo for ... e na parte de integração de interface ... não tenho certeza ... mas pelo que entendi .. terão editores de HTML/XML integrados e outras melhorias na interface ... como integração com outras linguagens e tudo mais ...


Responder Citar