-
Content Count
96 -
Joined
-
Last visited
-
Days Won
2
Posts posted by David Champion
-
-
13 hours ago, xStingEucliffexxx said:To create my interface factory, should I create just the factory class or the class and a factory interface as well?
if you are trying to implement the Abstract Factory Pattern then you will need to develop factory classes.
A more common case is where you will simply sub-class from TInterfacedObject and implement 1 or more interfaces.
-
Yes, I noticed the price jump with the RemObjects Remoting SDK subscription.
Also, I'm still not clear myself, after chatting with Mark Hoffman, what the subscription only license means.
-
16 hours ago, PeterPanettone said:When programming, I have often found that "thinking outside the box" sometimes leads to an unexpected and accurate solution.
Sometimes unexpected and inaccurate
-
20 hours ago, Lars Fosdal said:Practices can only improve
An alternate package manager needs to be controlled and run by an organisation outside of Embarcadero which would give the community a little bit more leverage.
- 1
-
3 hours ago, Celso Henrique said:How long does it take to buy a new server and restore a backup?
Let's hope EMB have all the backups required. And the backups are up-to date. And the backup process has proven to be successful.
-
This is a very good point, that the component-driven architecture is more than adequate to product loosely couple code.
This has troubled me for many years.
Most of the time I head off in the direction of developing/refactoring around interfaces and end up with an interface oriented-design.
So many small interfaces, so loosely coupled, that dependency injection using Spring4D is an obvious choice.
It works for me but the end result is far removed from the tooling support given by the IDE for components.
Sometimes the interface design is clumsy and not as dedicated, short and succinct as it should be, closer to a class declaration.
I often end up with an unnecessary abstraction where a more concrete implementation as a component would do just fine.
Perhaps if the VCL had a different way of producing components that avoided the deep class hierarchies and used more composition there would not be this apparent tension.
- 1
-
28 minutes ago, Dagados said:I'm having trouble building the Unit Test project and I have to add all the .pas files
Refactor the code to be loosely coupled; normally a huge amount of effort on a typical RAD created application.
- 1
-
Does anyone know if it is possible to convert the USB token to an ISO and then mount it on a build server ?
-
If you are a beginner, as you say, you'd best select the simplest of choices available and extend from there.
I would suggest registering for a AWS account 12 months free tier and using Aurora PostgreSQL.
Just a 2 tier solution, Delphi and a cloud based database.
No need to spin up a server instance.
If the version of Delphi doesn't support remote databases then look into a trial version of DevArts's UniDac components.
- 1
-
With a little help from Google translate I can make your question more accessible:-
Tôi có Delphi 11.3 trong máy Mac được kết nối với Windows 11 (MacOS Ventura 13.3.1) qua Wifi chạy PAServer 22 (phiên bản : 13.3.12.7 )
Nhấn nút "Kiểm tra kết nối" trong "Trình quản lý cấu hình kết nối" luôn cho tôi "Lỗi từ xa: Unknow LifeCycle : Sessio". Tôi đã tìm kiếm các diễn đàn và tất cả các mục của trang giải pháp lỗi bật lên hiển thị sau khi thử không thành công, nhưng tôi không thể tìm ra giải pháp...I have Delphi 11.3 in my Mac connected to Windows 11 (MacOS Ventura 13.3.1) over Wifi running PAServer 22 (version: 13.3.12.
Pressing the "Test Connection" button in "Connection Configuration Manager" always gives me "Remote Error: Unknow LifeCycle : Sessio". I have searched the forums and all the items of the solution page pop up error showing up after the failed attempt, but I can't find a solution.
Tôi đã hy vọng ai đó ở đây có thể có đề xuất hoặc chỉ cho tôi đi đúng hướng để tìm kiếm giải pháp.
Cảm ơn.
I was hoping someone here could have suggestions or point me in the right direction to look for a solution.
Thank.
-
I agree. The 3rd party libraries require maintenance at least and most likely further development but Idera's investors are not short of a few dollars.
-
It would not be a big investment to acquire these 3rd party libraries and make them available for free. A better way to increase revenue is to grow the user base.
Trying to lure developers beyond the Professional SKU by hiding the value in the Enterprise works well when the content is attractive to larger companies.
The Linux platform is attractive to all types of customer.
This is a missed opportunity to grow the Community Edition in a similar fashion to Python for Delphi.
-
I don't think Embarcadero has thought this through. Linux clearly needs to be available in all SKU especially in the Community Edition which would be taken up by the casual or hobbyist developer.
- 2
-
The level entry M2 Mac Mini is excellent value for money but do some research on the speed of the SSD drive, The 256GB model uses a single NAND chip resulting in 50% slower performance compared to the 512GB model.
To run headless you are likely to need an HDMI dummy plug. The headless ghost display emulator is available on Amazon.
- 1
-
I have used the RemObjects Remoting SDK. This also has a degree of language and platform independence.
The Remoting SDK has bidirectional TCP communications when using the called 'Super TCP Channel'.
Remote procedure calls can be made asynchronously, includes client side proxy generation, security features and event notifications.
-
Hex Viewer
in VCL
-
2 hours ago, A.M. Hoornweg said:Can serious optimization be done by a single pass compiler anyway?
Don't believe Delphi is a single pass compiler. If someone who knows more please comment..
edit: this Embarcadero blog suggests that it is single pass
-
There has been some discussion in the past about whether is even possible to catch every valid grammar production using BNF or EBNF.
Because Object Pascal/Delphi compilers have used hand crafted parsers the language has evolved with some inconsistencies unchecked by formal grammars.
-
24 minutes ago, David Hoyle said:If people can decide on the grammar to be used I can translate what I've put into the repository.
I would prefer the Antlr grammar mainly because you can build and test the grammar as you go with the tools provided.
Also, there are some excellent books by Terrance Parr.
I could try and revive my Antlr StringTemplate for Delphi project if the repo went in that direction.
-
38 minutes ago, TheOnlyOne said:Also check Delphi TeeChart
Idea are also trying to push their YellowFin product into their developer audience, which does dashboards and BI reporting.
They did a demo at the Delphi Conference in London this week.
I couldn't find a published price. Which is probably a bad sign.
-
@Anders Melander I am using Code Commit for my latest project, during lock down I needed to swap out the On Premise version of BitBucket.
It has the feature of locating the service at a particular data center and encrypting the source code at rest.
It's worth a look if you haven't already. Then again I don't know what you are looking for.
- 1
-
Adding to what Lars has said about Continua CI; if you use Final Builder as a Build Runner within Continua CI you can setup and test the build scripts visually.
There is an example script in Final Builder for Code Signing and Time Stamping your code.
-
4 hours ago, Alberto Salvati said:I have not a database to store hashs.
Arnaud's suggestion was to hash the script(s) and store the hash value as a string constant inside the Delphi application and this in itself can be protected by signing the executable.
So to verify, you can check the code signing to see if the executable and string constant has been tampered with or turn on Windows Smart Screen to block unsigned apps.
After that, you can check if a freshly calculated hash matches the stored hash.
-
Create a class that implements a DispInterface
in Algorithms, Data Structures and Class Design
Posted · Edited by David Champion
typo
It looks like you are trying to create an Automation Object with dual ole automation interfaces.
Delphi has a wizard that can generate the initial project.
The project will include a .ridl file from which you visually design a Type Library.
The Type Library designer can generate an implementation stub with all the user defined interfaces.
These interfaces are derived from IDispatch, which are your so called DispInterfaces.