Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using third party librareis [general discussion] #99

Closed
PrestigeDevop opened this issue Aug 28, 2022 · 7 comments
Closed

using third party librareis [general discussion] #99

PrestigeDevop opened this issue Aug 28, 2022 · 7 comments

Comments

@PrestigeDevop
Copy link

PrestigeDevop commented Aug 28, 2022

Hello , I'm new to desktop hybrid development I'm mainly use Unity engine for everything , however I did a little bit of js with node .
I've been waiting for blazor/maui but it seems has some limitations (i.e linux , + cross platform portable shaders )
I need to know if it's Photino would support mobile in the future ?

for now I'm trying to see any alternative to build interactive native apps . I came across FuseOpen and Fuse.JS it seems what I want (support .net and native mobile development -build system)

So I thought about asp .net core with node runtime [as service] ( I know it's deprecated]) but I've embed it inside a photino app anyway ( yes I use blazor with jsinterop) and you probably screaming inside there's no point of adding node into photino app !! and you probably right but wait there's more ( I want to add [Eto.forms] too) also Veldrid

you probably right I don't need all of that but I don't want to be restricted to a framework or technology stack i.e using common.js npm modules _building and bundling Deno to node modules at runtime with automated script another example is the ability to mixture between react jsx components and blazor in a dotnet core app .

I've been experimenting with it atm however I need to build true native cross platform desktop app ( while being close to c#,blazor and dotnet ) and easy optional deployment to mobile whenever needed .

so I think about the easiest path . I came into the conclusion of using fuse then deploying to a dotnet core when I need to build a desktop app .. using blazor and forms_menu items to build rapid prototyping that works truly cross platform .
or maybe I should throw everything and go back to unity lul


so what you think of my tech stack ? using photino app +node +trying to warp Eto forms -portable shader for desktop development

or at very least Eto forms +photino idk can someone point out what should I do first

@philippjbauer
Copy link
Member

I need to know if it's Photino would support mobile in the future ?

We do not plan to offer a mobile version of Photino at this point.

so what you think of my tech stack ? using photino app +node +trying to warp Eto forms -portable shader for desktop development

Photino is offering an easy way to use web technology (HTML/JS/CSS) for the interface of your application. I don't see how you would be able to combine the web interface (rendered by e.g. Webkit) with 3D accelerated UI elements or elements from a cross-platform native UI framework like Eto.forms.

For any 3D accelerated content you would be limited to WebGL.

If you want to use node in your project and don't need C#/.NET then maybe Electron is better suited since it is build on top of node already?

@philippjbauer philippjbauer closed this as not planned Won't fix, can't repro, duplicate, stale Sep 1, 2022
@richardschoen
Copy link

Or he could do a localhost ASP.Net app that runs natively on Windows/Linux/Mac that just uses the localhost browser, although you don't get all the desktop chrome :-)

@philippjbauer
Copy link
Member

@richardschoen I don't think that this is quite the problem that he is trying to solve. His vision seems to be a fusion of web and native UI technologies that will not work together.

@richardschoen
Copy link

richardschoen commented Sep 1, 2022

Yep, understood although Electron probably isn't good for mobile either is it ? Xamarin still seems to be the best choice at the moment to use C# to build true mobile apps or true js.

@philippjbauer
Copy link
Member

philippjbauer commented Sep 1, 2022

Yep, understood although Electron probably isn't good for mobile either is it ?

Fair point

@PrestigeDevop
Copy link
Author

PrestigeDevop commented Sep 1, 2022

We do not plan to offer a mobile version of Photino at this point.

this unfortunate but somewhat okay-ish at least now we've desktop I hope blazor binding with xamarin/maui mature so that we can access native features with blazor .

I don't see how you would be able to combine the web interface (rendered by e.g. Webkit) with 3D accelerated UI elements or elements from a cross-platform native UI framework like Eto.forms.

I've been thinking to include Eto form as main entry point , then somehow embed photino app as custom control/HwndHost to render the app . the idea is very similar to chromium cefsharpExample which has wpf menu items but using Eto forms instead ( I know it makes it exclusive to windows only unless there's alternative class for cross platform (dotnet core_CLR)

For any 3D accelerated content you would be limited to WebGL.

hmm.. maybe I should host react three fiber in photino app then ? , there's example of Eto.Veldrid if we cloud have these two example together it would resolve the problem ( I don't like imgui menu approach ).
the idea is that we have cross platform menu items that looks native and feels very similar to win forms

If you want to use node in your project and don't need C#/.NET then maybe Electron is better suited since it is build on top of node already?

yes my first option was to use Electron.NET and I'm still exploring this , but it still confuse me [some API] app updates etc it's not easy to understand
other solution is to host chromium browser in unity game engine app but you know ..big size and then I've to add native functions menu items , tray icons separately for each platform (Unity as library ) , thus using native xaml has better workflow .. I don't need to talk why not maui -Avalonia ( No linux +SkiaSharp ) which lack some functionality for shaders .


anyway ,, this leave me with the following two options only
-[ fuseopen] Which's tied to openGL and probably gonna use it but lacks community support .
-[Unity] but still DOTS runtiime and project tiny has it's own issues

@PrestigeDevop
Copy link
Author

PrestigeDevop commented Sep 1, 2022

gotta mention the priority isn't to render html into shader canvas/ (although it has been done PoC) (I would prefer using Unity with embedded browser in that case or convert the end dom result into webgl context manually ) , but rather to build cross platform desktop app in dotnet i.e blazor or other frontend UI alongside with Eto forms like menu items ,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants