Using DBKit to easily connect databases to Xojo applications

  Рет қаралды 2,952

Xojo

Xojo

Күн бұрын

Пікірлер: 21
@ChristianWheel
@ChristianWheel Жыл бұрын
This looks like a great time saver. Would love to see more helpful classes like this shipped with the product. For example I'm still using the deprecated Task class but would be great to have a modern version of it!
@gperlman
@gperlman Жыл бұрын
Thanks! If you have ideas for other classes like this, let us know. Regarding Task, is there a reason you can’t use the Thread class? Is it missing something you need?
@kailahann164
@kailahann164 Жыл бұрын
I’m just checking out DBKit. Looks great. This was the one key feature I missed in Xojo for RAD. I’ve watched many videos in the past about solutions like that and actually thought about developing something myself. One question about multi platform: Why don’t you use a Class Interface for the controls like Bob Gordon suggested in „Rapid Database Development“?
@kailahann164
@kailahann164 Жыл бұрын
Ok - you do have the "DBKit.Control" Interface ... So why is copying controls different to Bob's approach?
@geoffperlman7886
@geoffperlman7886 Жыл бұрын
Thank you for you kinds words. DBKit is still in development and still changing. My primary goal was to make connecting a database to the user interface require no code at all. I'm continuing to move towards that goal. An interface of course would require the user to implement it which means writing code. However, I do realize there will be times when you'll want to use controls I haven't subclassed and that's where an interface can be handy so I do plan on adding one.
@AndreasvanHaren
@AndreasvanHaren 4 ай бұрын
I created a project following the video, but cannot get the New button to work. Nothing happens when I click it, no database/listbox row is created.
@LanceDarby
@LanceDarby Жыл бұрын
Question: can dbkit be used for multiple databases in a single application?
@geoffperlman7886
@geoffperlman7886 Жыл бұрын
Yes, it can be. It automatically will connect to the first DBKit connection you create in your app class. However, you can manually (via code) set a Connector to any DBKit connection you make anywhere.
@summerof100beaches6
@summerof100beaches6 Жыл бұрын
Good product, great demo.
@rsals1328
@rsals1328 Жыл бұрын
i wonder if the sql parameters are being sanitized before the sql query or we do it manually?
@geoffperlman7886
@geoffperlman7886 Жыл бұрын
That's up to you to do as you can see in the Desktop and Web examples if you look at the SearchCustomers method. I am experimenting with a query method where you would simply pass in the WHERE clause but even then, I've written it so that you pass the WHERE and the values separately so that it can continue to be a prepared statement.
@sergiomolino1891
@sergiomolino1891 10 ай бұрын
With Xojo 2023 r4 the Desktop example does not compile...
@robvermeulen9884
@robvermeulen9884 Жыл бұрын
The option Build Step is enabled
@LanceDarby
@LanceDarby Жыл бұрын
Question: will dbkit work with a table using a varchar column as the primary key?
@geoffperlman7886
@geoffperlman7886 Жыл бұрын
It should. I haven't explicitly tested that. If you have an issue with that let me know.
@kakman1958
@kakman1958 Жыл бұрын
FWIW, I've just downloaded 2023 R2 and there's no Examples folder so no DBKit available. I downloaded the DBKit resources from the Xojo site, but it doesn't include the module or example projects.
@XojoInc
@XojoInc Жыл бұрын
Thanks for checking out DBKit! If you launch Xojo you'll see the project chooser. On the left menu look for the Examples at the bottom of the menu - below Templates.
@kakman1958
@kakman1958 Жыл бұрын
@@XojoInc Oh, thanks. I didn't realise the examples were no longer in separate folders.
@geoffperlman7886
@geoffperlman7886 Жыл бұрын
@@kakman1958 They are now provided online so that we can add and update examples at any time.
@robvermeulen9884
@robvermeulen9884 Жыл бұрын
Sorry Disabled
Xojo Webinar: Developing Web Apps with Xojo
1:01:19
Xojo
Рет қаралды 2,6 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
Updating a Database from Xojo
12:56
Xojo
Рет қаралды 1,5 М.
Understanding Object-Oriented Programming with Xojo
58:33
Getting To Know The Xojo #RemoteDebugger
13:34
Xojo
Рет қаралды 311
You Need These 5 Apps For Windows 11
23:54
CyberCPU Tech
Рет қаралды 454 М.
Notion Databases - Full Course for Beginners
48:54
Thomas Frank Explains
Рет қаралды 631 М.
Making REST Web Services to Access Databases
53:47
Xojo
Рет қаралды 6 М.
XOJO vs C++: Machine Learning
5:38
Alexander Kostyak
Рет қаралды 469
the TRUTH about C++ (is it worth your time?)
3:17
Low Level
Рет қаралды 841 М.
Connecting to a Database from Xojo
8:25
Xojo
Рет қаралды 3,9 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН