X# Core - which way?

Public support forum for peer to peer support with related to the Visual Objects and Vulcan.NET products
TerryB1
Posts: 306
Joined: Wed Jan 03, 2018 11:58 am

X# Core - which way?

Post by TerryB1 »

Hi Dick
Each to his own I guess.
> why do I have to manually change a namespace in multiple files including obscure files VS apparently needs to support it's solutions.

You don’t, and VS does not require it.

If you choose to write your program in one namespace in one file there is nothing to stop you. In that case using VS would probably be overkill.
So the question becomes what is the advantage of distributing source code over multiple files in this way?
My answer to that is: whenever trying to do something new, look a how nature does it (that will be the most efficient and streamlined) and do it the way we as human beings would do things naturally. Look at what we are good at and then capitalise on it.

I look at any program, when running, as being a 3D dynamic object.

Taking that view, a program has breadth and depth. We think this way naturally but not at the same time. By splitting code across files and namespaces we can arrange it, or rather match its structure to the way we think. As our program evolves during development things will change, names will not convey what the code is actually doing and so on. Thus we need re-factoring.

Hope that makes some sense.
Terry
TerryB1
Posts: 306
Joined: Wed Jan 03, 2018 11:58 am

X# Core - which way?

Post by TerryB1 »

Hi Tom
Yes – dot Net is vast, and nobody can learn it all at once. A better way to see the overall picture is by analogy to what we already know.

How it all fits together is difficult to explain without ambiguity.

I have therefore tried to show how I see all of it fitting together in diagrammatic form. I hope it is to a large extent self-explanatory.
(Best viewed A3 landscape).
If anyone feels it miss-represents the situation or needs further clarification I’d be very grateful if you’d let me know.
Hope it helps.

Best Regards
Terry
Attachments
An Overview of.pdf
(365.09 KiB) Downloaded 54 times
FFF
Posts: 1580
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

X# Core - which way?

Post by FFF »

Seems there's a problem with the link...
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
TerryB1
Posts: 306
Joined: Wed Jan 03, 2018 11:58 am

X# Core - which way?

Post by TerryB1 »

Have just tried on a different machine and was able to download OK.


I'm using Edge and downloaded to different Tab.


Terry
FFF
Posts: 1580
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

X# Core - which way?

Post by FFF »

Strange,
using FF 61.0.1 i only get the attached message. Note: also the link button looks somewhat strange ;)
EDIT: tried with Vivaldi, same problem...
Attachments
Button.PNG
Button.PNG (6.35 KiB) Viewed 522 times
Link.PNG
Link.PNG (2.26 KiB) Viewed 522 times
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
TerryB1
Posts: 306
Joined: Wed Jan 03, 2018 11:58 am

X# Core - which way?

Post by TerryB1 »

I'll try again
Attachments
An Overview of.pdf
(365.09 KiB) Downloaded 49 times
Karl-Heinz
Posts: 774
Joined: Wed May 17, 2017 8:50 am
Location: Germany

X# Core - which way?

Post by Karl-Heinz »

Guys

tried it with IE and FF: a left click doesn´t open the pdf, but i´m able to download the pdf with a right click and choose "save as". Don´t know, but did a left click ever open a pdf in this forum ?

regards
Karl-Heinz
FFF
Posts: 1580
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

X# Core - which way?

Post by FFF »

I think it did - but "Save as" did help, thx!
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
User avatar
wriedmann
Posts: 3755
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

X# Core - which way?

Post by wriedmann »

Hi all,

returning to the original topic:

After having worked two years with X# Core, I have decided to use the X# runtime in my newest project (a syncronization service between my ERP system using ADS and a external CRM using SQL server).

It has been really a boost of my productivity to use the X# runtime functions instead of the .NET functionality.

I have rewritten a simple functionality (split up an continental combination of country, post code and city into parts), a piece of code that is at least 20 years old. I have rewritten it in X# using only functionality of the .NET Framework, and it was about a half day of work until it worked like it's VO counterpart.

Therefore I have decided to use the runtime functions since we have them not without being limited to Vulcan, x86 and no multithreading.

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Post Reply