Перейти к содержанию
Fire Monkey от А до Я

Brovin Yaroslav

Администраторы
  • Постов

    2 124
  • Зарегистрирован

  • Посещение

  • Победитель дней

    390

Весь контент Brovin Yaroslav

  1. Getting Started with RAD Server What is RAD Server? RAD Server is a turn-key application foundation for rapidly building and deploying services based applications. RAD Server enables developers to quickly build new application back-ends or migrate existing Delphi or C++ client/server business logic to a modern services based architecture that is open, stateless, secure and scalable. RAD Server is easy to develop, deploy and operate making it ideally suited for ISVs and OEMs building re-deployable solutions. RAD Server allows you to take your existing code and convert it to REST API endpoints. RAD Server offers many great features: Multi-Tier Development made easy: Integrations provide out of the box connectivity with external servers, applications and services Quickly Build your UX Forms for Desktop and Mobile platforms in RAD Studio, Delphi or C++Builder Manage your APIs and users, and analyze utilization and API activity via the built-in RAD Server Application Management Portal Host your RAD Server on an a private “on prem” Windows server or cloud host on Amazon, Rackspace or Azure Clouds Deploy your server-side Delphi and C++ code to RAD Server, creating automatic REST/JSON API endpoints for your clients Connect RAD Server to your Enterprise Databases, Cloud Services and IoT Devices to extend your application A collection of ready to use key built-in services to power your application Includes core functions such as user directory services and user management, push notifications, user location tracking, and built-in data storage Configure user groups and add users via the RAD Server portal or import from LDAP. Assign API access rights to control what functionality different user groups have access to For a full list of features, visit the RAD Server product page. [YoutubeButton url='https://www.youtube.com/watch?v=HY0JRJPvjsU'] How does RAD Server compare to DataSnap? Before RAD Server, developers custom built back-end Delphi and C++Builder application servers using server toolkits like DataSnap which provided a few basic server building blocks for multi-tier, but left the vast majority of the development to the developer. Enter RAD Server. With RAD Server, developers can now simply load Delphi and C++ business logic methods into RAD Server, add some users, and go. What technologies does RAD Server include? The developer features for RAD Server included in 10.1 Berlin for developing REST endpoints, Location Tracking and IoT Edgeware are Enterprise Mobility Services, BeaconFence, ThingPoint and ThingConnect. Easy REST API Endpoint Creation, Publishing and Management RAD Server makes it fast and easy to build flexible back-end servers for your multi-tier application solution. Developers simply load Delphi and C++ business logic into the server, and managed REST/JSON API endpoints are generated. To develop REST endpoints for RAD Server, developers use the Enterprise Mobility Services (“EMS”) components listed in the IDE on the Tool Palette under the “Enterprise Mobility Services” category. IoT Enterprise Access Points IoT Edgeware extends the functionality of REST Endpoint Publishing and provides an enterprise access point between remote gadgets and devices. IoT Edgeware allows you to locally store, filter, and compute vast amounts of IoT data collected at the edge while ensuring only critical data is synced with the central repository. To develop IoT Edgeware for RAD Server, developers use ThingPoint which is an extension to EMS and represented with TEMSEdgeService in the “Enterprise Mobility Services” category in the Tool Palette in the IDE. Indoor and Outdoor Location/Proximity Solution Track user movement both indoors and outdoors, and respond to proximity events when users enter or exit custom beacon zones or approach designated beacon points. To develop Location Tracking, developers use the BeaconFence components available as a download through the GetIt Package Manager (via Tools > GetIt Package Manager > Internet of Things). Smart Device IoT Connectivity Framework RAD Server makes it easy to connect a wide array of wireless smart devices and sensors into your application solution, even in remote and difficult to access locations. Developers have access to over 50 pre-built components for many popular healthcare, fitness and home automation Bluetooth LE and Z-Wave IoT devices. To connect IoT devices to clients or RAD Server ThingPoint Edgeware, developers use ThingConnect IoT device components which are available as a download through the GetIt Package Manager (via Tools > GetIt Package Manager > Internet of Things). How is RAD Server licensed? RAD Server is licensed and priced affordably and with a no nonsense license. Either purchase the number of end users required for an application, or purchase a single or multi-site license covering unlimited users for an application. For RAD Server pricing, please click here. How do I start building a RAD Server solution? RAD Server requires an Enterprise or Architect edition of RAD Studio, Delphi or C++Builder 10.1 Berlin. A trial edition of 10.1 Berlin also allows users to evaluate developing services for RAD Server and will include a 5 user RAD Server development trial. This 5 user trial can be used for developing your solution and performing test deployments. Once you are ready to deploy your RAD Server solution in a production environment, you will then follow the steps outlined in the next section and use your paid RAD Server site license. For RAD Server pricing, please click here. There is no separate RAD Server trial as the technologies are available in 10.1 Berlin. Please see the top of this article for additional information. How do I deploy RAD Server in a production environment? We have a great tutorial on our docwiki that provides the steps for deploying RAD Server in a production environment. Step 5 shows a screenshot of where you will need to enter your paid RAD Server site license. http://docwiki.embarcadero.com/RADStudio/Berlin/en/EMS_Database_Requirements_for_a_Production_Environment For custom resources, you can use a tool like http://www.dependencywalker.com to determine the bpl dependencies of the custom resource. Where can I access Getting Started resources? We invite you to watch our RAD Server Deep Dive webinar replay which is broken down into individual chapters for easy viewing: https://www.youtube.com/playlist?list=PLwUPJvR9mZHgccq4EfTcsCngRqpTmm_wn Replay slides and demo projects shown in the webinar can be downloaded here. You can also find tutorials on the different technologies that are part of RAD Server by following the docwiki links above. For more Getting Started videos, please visit our YouTube Channel. Sample Projects REST Endpoint Publishing https://sourceforge.net/p/radstudiodemos/code/HEAD/tree/branches/RADStudio_Berlin/Object%20Pascal/Multi-Device%20Samples/EMS/NotesResource/ IoT Edgeware https://sourceforge.net/p/radstudiodemos/code/HEAD/tree/branches/RADStudio_Berlin/Object%20Pascal/Multi-Device%20Samples/EMS/ThingPoint%20ThingConnect%20IoT%20Demo/ https://sourceforge.net/p/radstudiodemos/code/HEAD/tree/branches/RADStudio_Berlin/Object%20Pascal/Multi-Device%20Samples/EMS/ThingPoint%20ThingConnect%20IoT%20Demo/ ThingConnect IoT Device Components For each IoT component pack installed through the GetIt Package Manager, you can find sample projects by navigating to: C:\Users\Public\Documents\Embarcadero\Studio\18.0\Samples\Internet of Things\Object Pascal\Thing Connect Location Tracking After installing the BeaconFence component pack through the GetIt Package Manager, you can find sample projects by navigating to: C:\Users\Public\Documents\Embarcadero\Studio\18.0\Samples\Internet of Things\Object Pascal\Beacon Fence Where can I view the RAD Server Eula? You can view the RAD Server Eula here. Просмотр полной статьи
  2. Hello Juande, The first problem of it is a intercepting gestures/mouse events by TVertScrollBar, it's a reason why TUITabControl cannot receive events. The second problem is standard pan gesture doesn't define vertical and horizontal movement. It's a limitation of FireMonkey. So there are only one possible solution: You need catch mouse and pan gesture events in TVertScrollBar. Manually define is it a horizontal movement or not? If it's horizontal movement, that transfer it into TUITabControl by direct calling methods CMGesture or MouseXXX.
  3. Все просто. нельзя работать с формой из другого потока. CallInUIThread именно и вызывает код из другого потока. Посему и нет никакой гарантии в работоспособности всего этого.
  4. We've launched a new competitions section on our community. This is where we will host competitions for you to show off your creativity and technical skills. We are kicking it off with two competitions, the Delphi 10.2 T-Shirt Graphic Contest and the #FunWithDelphi: NASA API Mashup. Просмотр полной статьи
  5. На здоровье. Еще почитайте вот эту тему:
  6. Если c - это объект и у него определен дефолтное свойство, то его нельзя передавать, как var параметр. Компилятор не соберет такой код.
  7. Как вариант: разбить картинку на задний фон и рамку. В рамку кинуть TLayout, выравненный по нижнему краю рамки с отрицательным нижним отступом Кидать кнопки в TLayout. и выравнивать их по левому и правому краям. Кнопки сделать с альфа каналом, убрать из их изображения задний фон и рамку.
  8. Рисовать по нажатию на кнопке нельзя на канве формы. Рисовать на форме можно только в рамках общего процесса отрисовки. А именно в события OnPaint или методе Paint.
  9. Ссылка: http://yaroslavbrovin.ru/object_life_cycle_in_delphi_part_1_windows_osx-ru/ Автор: Ярослав Бровин С появлением мобильных платформ в мире Delphi, произошли серьезные изменения в жизненном цикле объектов. Послужившие причиной многих проблем и вопросов, а как правильно кроссплатформенно удалять объекты. В этой статье детально рассматриваем жизненный цикл объектов на разных платформах и даём ответы на важные вопросы, которые могут побеспокоить даже опытных Delphi разработчиков.
  10. Есть примитивы синхронизации блокирующие только запись. Запись делают потокобезопасным. В этом случае не будет лока данных на чтение из других потоков, если запись не залочена. В отличии от критической секции, которая всегда лочит данные. Еще есть LockFree концепция, которая сводит почти к минимому использование блокировок. Главная идея - это использование атомарных функций и специальных флагов помечающих актуальность данных.
  11. We've got a lot of exciting webinars coming in the first quarter of 2017. All these global webinars are offers 3 times a day to accommodate your busy schedule and timezones: 6 AM, 11 AM, 6 PM PDT. Replays will be available after the webinar completes, but be sure to attend for the live Q&A. Thu, January 19, 2017 - Maximize IDE Productivity with 10.1.2 Berlin Are you using all the latest productivity enhancements? Berlin 10.1 Update 2 Anniversary edition introduces more productivity enhancements than ever. This webinar will bring you up to speed on some of the top productivity boosts provided by your favorite IDE. Tue, January 24, 2017 - Migrating to RAD Server "Moving existing Delphi VCL ""Fat Client"" database applications to scalable client/server architectures with RAD Server. Five distinct phases: analyze, plan, refactor, build and deploy The key is building a layered architecture" Thu, January 26, 2017 - Web Front End Frameworks Delphi and C++Builder are amazing at building native multi-platform apps. There are also a great collection for Frameworks for building GUI web applications. This webinar will look at building high performance, feature rich web GUIs with your favorite development tool. Tue, January 31, 2017 - Migration Delphi - Case Studies "This webinar focuses on three areas for migrating legacy Delphi to the current Delphi version: Migrating 3rd Party Components / Libraries Migrating Unicode Migrations of Database and Middleware Includes resources, examples and practical advice" Thu, February 2, 2017 - Internet of Things Integration with RAD Server Overview of the Internet of Things components, libraries and support in RAD Studio. Including Beacons, Bluetooth LE, the GetIt IoT Components, Beacon Fencing and more. Week of Mon, February 6, 2017 - Arduino IoT Bootcamp Integrating Arduino and open hardware into your IoT Solution Week long boot camp More details to come Tue, February 14, 2017 - Modernize or Become Extinct Now is the time to move forward. Technology is moving faster and faster. If you were waiting for the right time to integrate with new technology, it is now. Thu, February 16, 2017 - LiveBinding for VCL Developers A guide to using LiveBindings in existing VCL applications Master detail relationships Creating LiveBindings in Code LiveBinding DataSets Tue, February 21, 2017 - Using TMS Cloud Pack to Integrate Your Apps with the Cloud REST services are everywhere, and using them is the key to accessing the cloud. The TMS Cloud Pack components simplify working with common web services including: PayPal, Flickr, Dropbox, Google, Microsoft, Amazon, Twillo and more. Learn the easiest way to integrate the cloud into your mobile and desktop apps. Thu, February 23, 2017 - CaseStudy: Delphi Minifig Mobile App Success Join Delphi Product Manager Marco Cantu for a case study of his successful mini-figure collectors app Available on mobile, using many Delphi and RAD Studio technologies Tue, February 28, 2017 - C++ the C++Builder Way Thu, March 2, 2017 - DevExpress Migration Tue, March 7, 2017 - Beyond Firebird Thu, March 9, 2017 - Building a Microservices Architecture with RAD Server Tue, March 14, 2017 - From Really "Old Delphi" to the Future Thu, March 16, 2017 - Using RiverSoft AVG Components Tue, March 21, 2017 - Advanced HTTP Protocol Hacking Thu, March 23, 2017 - Using JVESoft Components Schedule subject to change, more details to come! Просмотр полной статьи
  12. Скорее всего конфликтует с названием компонента FMX TPath.
  13. В любом случае ваше желание я вас понимаю :-) Поскольку рынок на делфи складывается в основном из старых проектов, то желания перенести старое на новое больше, чем написать это же с нуля. Была в свое время попытка сделать мида конвертер. Он, вроде, как умел базовые вещи делать: переименовывать свойства и тд. Но как-то новости о нём потихоньку затихли. Видимо, из-за того, что после его работы нужно все равно потратить время на перевод кода. На счет FMX я скажу так. Что мне лично не хватает в FMX тех минимальных вещей, которые в VCL работали хорошо: четкая графика на всех платформах, нормальный ввод текста, базовые настройки компонентов и скорости работы. Причем половина банально решается протягиванием или открытием скрытых свойств, что для меня тоже загадка (почему они скрыты).
  14. Механизм будет работать. Это основа делфи, а не VCL. В VCL просто ее использовали, чтобы облегчить жизнь с доставкой сообщений. На текущий момент FMX использует мессаджи в презентационных контролах. Именно через ключевое сообщение message. И этот вариант не то же самое, что TObject.Dispatch. Да, это скорее центр уведомлений. Грид не плох на планшетах, но для своих задач. Но на мобильных телефонах много вы видели гридов? Да и грид переделали в последних версиях. Он по крайней мере стал на что-то похож. Про LiveBinding молчу, так как это вещь сама в себе. Вроде, как всех к ней привязали, как к новомодной фишки. Но по факту с ней возиться намного больше, чем с DataSource компонентами. Я уж не говорю о скорости работы. Вот это правильное замечание. Есть идеалогия мобильного приложения и она практически ничего не имеет общего с настольными ОС, кроме кнопок, конечно, и полей ввода С другой стороны есть люди, которым мобильность не особо нужна. У них есть большие проекты на VCL и они в принципе были бы рады перевести на FMX, но если это просто взять и двумя кликами поменял. О чем @Haword и говорит. Это хорошее желание. Но никакой нормальный большой проект на VCL просто так не перевести на мобилки, какое бы соответствие не было на уровне АПИ компонентов. Когда появились первые КПК было очень модно похвастаться, что у тебя есть DOS на кпк. Можно было поставить Turbo Pascal или вообще запустить обрезанную винду. Классно, но только дальше этого реально Хорошее замечание. Большинство библиотек косвенно или напрямую использует либо WinApi либо Dll. И такие библиотеки не взлетят на других платформах ну никак. Опять же повторюсь, что идея совместимости хорошая. Но на практике, даже, если бы она и была на уровне FMX, то она хорошо подходила бы для маленьких проектов. В то время, как для больших, она была бы почти бесполезна. Но при это эта совместимость потребовала бы своих костылей. Поверьте мне
  15. Читать интересно Наверное вернулся только при том, что я действительно буду понимать, что компания выбрала правильный путь развития и очень сильно заинтересована в этом
  16. Добрый день, Пока находится на доработке. Финальные штрихи.
  17. Описание Назначение: Компонент предназначен для отображения правильного многоугольника. Поддерживаемые платформы: Windows, OSX, iOS, Android Демо проект: Samples\RegularPolygonDemo\RegularPolygonDemo.dproj Возможности Округление к физическим пикселям - TfgRegularPolygon.AlignToPixels Количество сторон - TfgRegularPolygon.SidesCount Настройка цвета границы - TfgRegularPolygon.Stroke Настройка заливки - TfgRegularPolygon.Fill
  18. Описание Назначение: Компонент предназначен для отображения и ввода голоса. Поддерживает стилизацию. Поддерживаемые платформы: Windows, OSX, iOS, Android Демо проект: Samples\RatingBarDemo\RatingBarDemo.dproj Возможности Стилизация через указание двух картинок отображающих голос и пустой голос Общее количество "звезд" - TfgRatingBar.TotalCount Текущее значение голоса - TfgRatingBar.Rating Возможность указывать дробное значение голоса Возможность указать шаг изменения голоса TfgRatingBar.StepSize Поддержка Tint эффекта - TfgRatingBar.TintColor Автоматический размер - TfgRatingBar.AutoSize Режим только отображения - TfgRatingBar.ReadOnly Событие окончательного изменения рейтинга (отжатие пальца от экрана или кнопки мышки) - TfgRatingBar.OnChange Событие в процессе изменения рейтинга - TfgRatingBar.OnChanging
  19. Пока говорить сложно. Так как его использование требует своего набора компонентов. И к штатным компонентам он не интегрируется. У меня есть набор компонентов с которыми он уже интегрируется. Но требуется доработка.
  20. Описание Назначение: Компонент предназначен для отображения прямоугольника. Главное отличие от стандартного TRectangle - это возможность округления позиции и размера прямоугольника для избежания размытия границ. Поддерживаемые платформы: Windows, OSX, iOS, Android Демо проект: Samples\ShapesDemo\ShapesDemo.dproj Возможности Одной из проблем графических примитивов в FMX - это размытие границ, вызванное отсутствием привязки изображения к физическим пикселям экрана. Поэтому любое смещении координат прямоугольника на дробную часть приводит к размытию границы. Это хорошо видно на скриншоте ниже (Граница самого нижнего прямоугольника размыта, по сравнению с прямоугольниками выше) Округление к физическим пикселям - TfgRectnalge.AlignToPixels Настройка отображения углов - TfgRectangle.Corners Настройка закругления внешних углов - Corners.RadiusX, Corners.RadiusY Настройка способа вывода угла - Corners.CornerType Указание какие углы выводить - Corners.Corners Настройка цвета границы - TfgRectangle.Stroke Настройка заливки - TfgRectangle.Fill
  21. Пока сложно о чем-то говорить. Но надеюсь, что все первоначальные задумки исполнятся.
  22. In today’s post, I wanted to share some details on the great plans we have in store for RAD Server. While Berlin 10.1.2 is great, my favorite development in 2016 is RAD Server. RAD Server is our turn-key application foundation for rapidly building and deploying services based applications (self-hosted PaaS). RAD Server enables developers to quickly build new application back-ends or migrate existing Delphi or C++ client/server business logic to a modern services based architecture that is open, stateless, secure and scalable. With RAD Server, you can simply load Delphi and C++ business logic methods into RAD Server, add some users, and go. Просмотр полной статьи
  23. In today’s post, I wanted to share some details on the great plans we have in store for RAD Server. While Berlin 10.1.2 is great, my favorite development in 2016 is RAD Server. RAD Server is our turn-key application foundation for rapidly building and deploying services based applications (self-hosted PaaS). RAD Server enables developers to quickly build new application back-ends or migrate existing Delphi or C++ client/server business logic to a modern services based architecture that is open, stateless, secure and scalable. With RAD Server, you can simply load Delphi and C++ business logic methods into RAD Server, add some users, and go. Godzilla (our codename for the next release of RAD Studio) will introduce Linux Server support. This will include a Linux version of RAD Server with Apache integration. You’ll also be able to create Linux RAD Server API modules in Delphi and C++, and we are working to extend our ThingPoint Edge Service support to Linux. This opens a new universe of hosting options, including container deployment. We are also planning to add Multi-Tenancy Support to RAD Server. This has been a frequently requested feature and is something we are actively working on adding to the Godzilla release. A single RAD Server instance with a single RAD Server database connection will be able to support multiple, isolated tenants. Each tenant will be able to have a unique set of RAD Server resources including users, groups etc. and you will be able to administer tenants. Another Godzilla feature planned for RAD Server is support for AngularJS clients. AngularJS is a popular client framework for developing sophisticated Web applications. We recently showed some of our AngularJS support in a webinar. I encourage you to check out the replay. Other features that we’ve planned for RAD Server throughout the Godzilla release cycle include ActiveDirectory support for RAD Server and AD synchronization for accounts and Kerberos authentication for clients. BTW, these are the last days of a pretty awesome promotion - as part of our current Architect edition promotion (expiring on 12/31/16), you get a RAD Server site license for free. For more details, click here. We will be posting an updated Delphi, C++Builder and RAD Studio Roadmap in January 2017. These plans represent our intentions as of this date, but our development plans and priorities are subject to change. Accordingly, we can’t offer any commitments or other forms of assurance that we’ll ultimately release any or all of the above-described products on the schedule or in the order described, or at all. Просмотр полной статьи
×
×
  • Создать...