Replies: 17 comments 7 replies
-
@mrNo0b It will provide ability to choose between xaml and html based solution xaml solution will be based on work done in Xamarin and this repository |
Beta Was this translation helpful? Give feedback.
-
Note that XAML is a serialization (marshalling) language, that is, you represent instances of objects using an alternate representation that gets (eventually) compiled to IL, while Html is a markup language that represents documents, not instances of objects. Html works very well in the browser because it has an html interpreter and rendering engine |
Beta Was this translation helpful? Give feedback.
-
What I am trying to say is that the UI code will be similar to html and style will be similar to css but will have all the wpf features, so instead of writing 200 lines on xaml control template where actual style only take 30 lines we will have css style with additional wpf specific stuff. |
Beta Was this translation helpful? Give feedback.
-
I sincerely hope that I've got this right, MAUI is supposed to replace xaml so that I nevermore have to lay my eyes on xaml again. |
Beta Was this translation helpful? Give feedback.
-
@doterik no MAUI is just a port of Xamarin to .Net 6 (instead of mono). And since there will be some breaking change they allow some breaking change.
Because we prefer XAML.
Xaml is similar to HTML in some ways
There is never that much difference in loc count. Even when i have to remake the full template to add a placeholder... And it's where HTML is better. The main case where the gap in loc is huge is when using bootstrap or anythinks like it. But all XAML framework also have bootstrap...
Both have they're poor and cons. XAML is way more powerful if you want to customize. But HTML/CSS is old and have a lot of tooling and trick to pass any limitation. |
Beta Was this translation helpful? Give feedback.
-
You may want to read : |
Beta Was this translation helpful? Give feedback.
-
@GeraudFabien Thanks for your input. I'm confused, maybe I mixed it with Comet, or I'm completely wrong. Code instead of XAML is my hope for the future. |
Beta Was this translation helpful? Give feedback.
-
I hate xml but I thinks ms will not leave out xml and xaml. Old school rules in big company |
Beta Was this translation helpful? Give feedback.
-
There is a lot of reason why you could hate XML can you elaborate please. Mine as example :
But there is also some advantage XML is a complete markup language. It's realy clear and easy to create simple and complex object and to set simple or complex property. The language is also extensible... That why XML was chosen instead of YAML or JSON. The fact it's a different language enable feature like "Duck Typing", ... to be add without being weird. You may want to read microsoft/xaml-standard#73. |
Beta Was this translation helpful? Give feedback.
-
I believe a lot of developers and companies relay on xamain forms which means on xaml, also developers who used to work with wpf are familiar with xaml so a transition to Xamarin will be smooth. But in this domaine not all are familiar with html+css. In addition IMHO bringing something like this will cost a lot of effort time and money, will bring it own issues and at the end the gain is little. It would be considered as not worthed when you already have something very powerful and as solid and stable as xaml and contiously improving espcially for the hot reload, errors reporting. (not to forget the c# markup). |
Beta Was this translation helpful? Give feedback.
-
They can continue relay on Xamarin etc. they probably also still use VB6 or win forms. its time for a change and not another "update", new frameworks appear everyday and developers learn and use them, so if Microsoft can make something new and good I am pretty sure devs will learn it. and if it will finally be truly cross platform it will be probably the only framework devs will need. |
Beta Was this translation helpful? Give feedback.
-
"finally cross platform"?
Xamarin has been cross platform from day one.
and remember Microsoft did not build Xamarin, they bought it.
Xamarin's approach to cross platform is different to Flutter - but that
doesn't mean its worse
If you prefer Flutters approach then use Flutter.
Xamarin gives us power that flutter et al just don't come close to
providing.
You decide what is best for your projects, but don't lambaste Xamarin for
not being Flutter - its a different animal for a reason
…On Sun, Jan 10, 2021 at 9:04 AM dF ***@***.***> wrote:
They can continue relay on Xamarin etc. they probably also still use VB6
or win forms. its time for a change and not another "update", new
frameworks appear everyday and developers learn and use them, so if
*Microsoft* can make something new and good I am pretty sure devs will
learn it. and if it will finally be truly cross platform it will be
probably the only framework devs will need.
All those companies actually drag everyone down when they refuse to spend
some money to update their 20+ year old product and instead force
developers to use old frameworks etc. it should be the other way around,
companies should be the one who adapt to the changes, the world doesn't
revolve around them as they used to believe... If they don't adapt they go
out business. that is how everything works IDK why it should be any
different with software dev. if all the resources that spent creating
backwards compatible stuff would go instead to actually moving forward we
will have happy life.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#290 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACOGERQPGL5RUW2TB6KIR5DSZFGOBANCNFSM4VEUPBVA>
.
|
Beta Was this translation helpful? Give feedback.
-
I think they mean .NET is finally cross platform - From what I understand Xamarin uses Mono - So I think MAUI is redesigning Xamarin to use .NET instead of Mono. I have followed the history of Xamarin for many years - And I think they still own my a monkey for completing a survey they had when their website was still under construction in the pre-Microsoft days. |
Beta Was this translation helpful? Give feedback.
-
yes efficivelty .net 6 will get all the missing features mono has to be
able to do iOS and android and mac that it can't already do - and then
everything is just .net 6 - can't wait!
…On Wed, Jan 20, 2021 at 1:58 PM LukeTOBrien ***@***.***> wrote:
"finally cross platform"?
I think they mean .NET is finally cross platform - From what I understand
Xamarin uses Mono - So I think MAUI is redesigning Xamarin to use .NET
instead of Mono.
I have followed the history of Xamarin for many years - And I think they
still own my a monkey for completing a survey they had when their website
was still under construction in the pre-Microsoft days.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#290 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACOGERVXK33HJBLQHKUWIRLS23AQHANCNFSM4VEUPBVA>
.
|
Beta Was this translation helpful? Give feedback.
-
Yes, the same BCL, but different runtimes. |
Beta Was this translation helpful? Give feedback.
-
HTML and XAML are both based on SGML, so they essentially share the same grammar. Moreover, you can almost look at XAML as an extension of HTML with some handy additions such as property element syntax (expanding an attribute into a subelement) and markup extensions. And if you start adding things to HTML to make it less static such as property binding from Angular, you end up in a circle reinventing XAML. So I think what you really want to ask is can we make use of CSS in MAUI (already partially supported by Xamarin.Forms but more like a gimmick), then this would be a highly debated topic. CSS has its own history of problems that spawned a ton of internet memes, with various people trying to "fix" it such as Less, Saas, Stylus, and so on. Perhaps what is actually worth discussing is how can we improve XAML and move it forward, such as getting rid of XML namespaces (there was a talk of making XML documents "namespace aware" by default back in the time of XML 2.0 discussions), improving the markup extension syntax (allow more C#-like constructs in bindings), etc. |
Beta Was this translation helpful? Give feedback.
-
Hello @mrNo0b |
Beta Was this translation helpful? Give feedback.
-
As far as I know MAUI will use xaml, why not make it use html and css instead? or allow selecting html and css or xaml?
#DeliverUsFromXAML
Beta Was this translation helpful? Give feedback.
All reactions