Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > Noticias
Registrarse FAQ Miembros Calendario Guía de estilo Buscar Temas de Hoy Marcar Foros Como Leídos

Grupo de Teaming del ClubDelphi

Respuesta
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 22-05-2017
Avatar de gatosoft
[gatosoft] gatosoft is offline
Miembro Premium
 
Registrado: may 2003
Ubicación: Bogotá, Colombia
Posts: 833
Poder: 21
gatosoft Va camino a la fama
True Native Crossplatform Delphi Library (spoiler)

Amigos,

Les comparto un "comunicado" publicado en el grupo Delphi Developers de google, para los que no están aun suscritos.

el comunicado fue escrito por Yaroslav Brovin

y lo copio aqui tal cual para los que les da pereza ir a los links...

Cita:
True Native Crossplatform Delphi Library (spoiler)

Hello gentlemen,

I'm glad to announce 3 news in Delphi world: 2 positive and one negative.

I had been working on development FireMonkey library for 5 years in Embarcadero. It was a usefull time for deep understanding how library should work. And after closing offices i have been started to work on creating new crossplatform really native library from scratch. It never uses firemonkey anymore. Library something similar to VCL, but uses modern approach in development. It uses only small part of rtl. Framework uses native components and native graphics of each os. There are few advantages, which will be available in final version:
1. Look and Feel. All components are native. It means they are using native implementation system components aka VCL. Now you don't need to worry, that your application works on android not so like a application, which was created in XCode or Android Studio.
2. UI response. All components of new library workds so fast, as a system application.
3. Good quality of drawing. Only native OS graphics, which provide a lot of possibility for drawing (gradient, text, primitive, effects) and guarantees that you drawing will be the same on different devices.
4. Design taking into account the specifics of mobile platforms. Mobile platforms differs from desktop platforms and provides new controls, which are special only for mobile design. It's a fact. Framework includes it (Status bars, mobile services, no desktop features and so on).
5. Supporting non visual components DB access components, REST and etc. which allow to create your buisness application
6. Simplification of Stylization. As you know styles in Fmx is a greate features with alot of possibilities. You can put TEdit into style of TPanel (but why?). For each of this posibility framework pays by performance and flexibility for creating you style. You cannot understand which controls you should use for create for ex style for TEdit. But in common you need just change only graphics (like a skins). Libary will support also styling, but it will not provide put any controls to each other for reducing complexity of style using and increasing performance.
7. Extensibility. In this time libraries have already have base for creating components. which are using os native controls or components, which are self drew themself.
8. Modularity. Framwork designed to reflect a decrease in the connectivity of the components and modules between them. You can be sure, that if you are create empty one form application it will not load web browsers, buttons and other controls like a FMX. It one of the way for reducing application size. On this moment application which is created by my framework takes in 3 time less memory space, then the same fmx application.

I will provide more information about details in development process. There is still a lot of work, but not a small part of the work is already done and left behind.

There are just a screenshot from my demo application of really native application with my library. It doesn't use any FMX.

P.S. The topic is very interesting, and will likely cause a lot of questions. I will try to answer whenever possible.
P.S.P.S. Soon there will be a resource where you can learn more about the project, and meet with a Road map and to learn about the progress of project development.

Its' a good news. Bad will be in a next post (It relates with Delphi - Android bridge)
éste es el segundo post, sobre las malas noticias (limitaciones):

Cita:
Continuing the theme about "True Native Crossplatform Delphi Library"

During the development of my framework. I ran into serious limitations in Delphi - Android bridge. Namely, in limiting the number of simultaneously used classes (~30-40).

What does it mean for developers?

It means, that you cannot use in your android application more that ~30-40 classes in the same time. Once you exceed this limit, your app will fall in different places on the Delphi side.
However it doesn't limits on instance count, which are allocated from one class. In other words, you can create alot of object java instances of one class, but you cannot create by one object of a lot of java classes. Since FMX is not very integrated with the native API, this issue while it is not critical. Because you are "in a bounce of limit". However, if you want to limit yourself to just Delphi with a functionality, and still use the android api directly, it can become a very serious problem in future.

As you know, for a native library, this limit is quite a serious problem. Because native Libs is tight integration with the native API and is used by a large variety of classes. This problem I faced when I started to extend the set of native components in my library. And as soon as I have exceeded the limit on the number of classes to be used, the application began to fall with crash.

After researching the problem, I realized that the problem is only on the side of the implementation of the top of the bridge in Delphi. So I switched to connecting the project to implement alternative Java bridge. The development took me one month and was a success. After the transfer the "True Native Delphi Crossplatform Library" on the new bridge, the problems went away.

All the details of the new bridge, I'll tell you later. I just want to mention that from the point of view of the developer, it can use Android API in the same way as conventional Delphi objects. Now you do not need to write:

TJView.JavaClass.Init(Context)
and can write simply in delphi style:
TJView.Create(Context)

Of the other possibilities, it will support Delphi strings as arguments to the Java API. And you will not need to perform endless conversion
StringToJString and Vice versa.

My bridge includes 2 parts:
1. Base for binding delphi wrappers and java classes
2. Special command line tools generator wich can create for you interesting delphi wrappers

I will tell you about it more detail later. Below screenshot of generated delphi wrapper for java.lang.Boolean object.
Responder Con Cita
  #2  
Antiguo 22-05-2017
Avatar de TOPX
TOPX TOPX is offline
Miembro
 
Registrado: may 2008
Ubicación: Bogotá
Posts: 527
Poder: 16
TOPX Va camino a la fama
Sería una lástima que el equipo legal de Borland/Inprise/CodeGear/Embarcadero/Idera tumbara ese proyecto.
-
__________________
"constructive mind, destructive thoughts"
Responder Con Cita
  #3  
Antiguo 22-05-2017
Avatar de gatosoft
[gatosoft] gatosoft is offline
Miembro Premium
 
Registrado: may 2003
Ubicación: Bogotá, Colombia
Posts: 833
Poder: 21
gatosoft Va camino a la fama
Pues esperemos que no, pero queda la duda sobre lo que pueda estar pasando con FireMonkey y su evolución.

Ya en otro hilo se habia hablado de CrossVCL, una iniciativa de un grupo llamado CrossVCL Team

Estos ya son demasiados esfuerzos por unificar el concepto de multiplataforma, basandolo en VCL.

¿Cómo podríams analizar esto?.

Personalmente apoyo éstas iniciativas
Responder Con Cita
Respuesta


Herramientas Buscar en Tema
Buscar en Tema:

Búsqueda Avanzada
Desplegado

Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro

Temas Similares
Tema Autor Foro Respuestas Último mensaje
old format or invalid type library delphi heiverp Varios 4 10-03-2016 19:02:50
¿Package library Quick report Delphi 10? AlexM Impresión 1 05-12-2015 17:05:12
True DBGrid Pro para Delphi ronimaxh Varios 3 28-08-2011 04:10:07
En Delphi 5, "El valor de BOF o EOF es True, o el actual registro se eliminó, .... Lore Castillo SQL 1 02-02-2006 23:12:01
Errores Instalando RX Library 2.75 para Delphi 6 kman Varios 3 23-12-2005 23:40:35


La franja horaria es GMT +2. Ahora son las 14:12:33.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi