Need to replace DevExpress Bootstrap for ASP.NET Core in project. Solution from experience? Rewrite with different framework like Vue? Smthn else?

huangapple go评论60阅读模式
英文:

Need to replace DevExpress Bootstrap for ASP.NET Core in project. Solution from experience? Rewrite with different framework like Vue? Smthn else?

问题

我们需要从项目中移除DevExpress Bootstrap Controls for ASP.NET Core。
什么是最简单/最便宜/最快的解决方案?
是简单地用不同的框架如Angular/Vue/React重新编写所有内容吗?
或许有已知的迁移到DevExpress ASP.NET Core Controls的框架/方法?或者其他方案?

英文:

We need to get rid of DevExpress Bootstrap Controls for ASP.NET Core from project.
What would be the easiest/cheapest/feastet solution?
To simply rewrite everything with a different framework like Angular/Vue/React?
Maybe there is a known framework/method of migrating to DevExpress ASP.NET Core Controls? Or to something else?

答案1

得分: 0

从DevExpress中使用了多少个控件?

如果您只使用了少数控件,那么您只需要少数替代品。

我不会称购买一些来自DevExpress的控件为一个完整的“框架”,而只是购买一些用于项目的控件。

那么,项目是否使用了3-5个或50个不同种类的DevExpress控件?(使用的意思是不同种类的控件)

如果您只使用了一些,比如GridView,那么您只需要找到GridView控件的替代品,或者简单地使用内置的控件,并使用一些CSS进行修饰,并添加其他选项(我会制作一个用户控件)。

所以,您想确定使用的控件的作用是什么,使用了多少不同种类的控件,然后找到一些具有您喜欢的出色外观和感觉的控件。

它们的网格控件非常出色,因为它们具有网格控件标题栏的一些非常出色的过滤选项。

因此,您需要找到一些控件替代品,但项目使用了多少将在很大程度上确定范围。

所以,可以考虑在其标签控件的位置使用jQuery控件。如前所述,我会将jQuery.UI标签控件包装成用户控件,这样您可以将jQuery.UI的“标签”控件拖放到DevExpress控件的位置。

多选组合框(下拉列表)也是如此。

因此,您可以自己组合一些替代品,或者找到一些替代品,或者从其他供应商那里购买一些控件。

挑战和问题当然是每个他们的控件都有一个特定的对象和事件模型。

但是,这与如果您开始使用sweet-alert,现在想用jQuery.UI对sweet-alert进行替代没有太大不同。

我想说,替代他们的控件的真正挑战通常不是找到替代品,而是找到一个外观和感觉出色的东西。DevExpress控件的主要巨大优势往往是它们的外观和感觉。换句话说,他们有人在外观和感觉方面有着非常好的品味。

我是说,多年来我使用的是ajaxtoolkit(免费、开源)。它仍然是一组出色的控件。弹出对话框、标签控件、多选组合框、HTML编辑器?

它们都很棒,但它们的巨大缺点不是功能,而是来自那个免费工具包的控件看起来像20世纪80年代的东西!!!

流行的jQuery.UI?同样,这些控件看起来很丑,就像由一个失业的牛仔小丑在拖车公园里设计的一样。

引起Bootstrap如此受欢迎的原因有一个巨大但是超级巨大的简单原因:

Bootstrap具有出色的外观和感觉(Bootstrap之所以受欢迎没有其他原因!!)。

如果您曾经雇佣了一位图形艺术家来重新设计您的网站的外观和感觉?猜猜?他们的工作和建议将与Bootstrap的默认值相似!!!

因此,印刷和图形设计行业的某人或者拥有非常出色的才能和极佳品味的人创造了Bootstrap系统。因此,当您使用Bootstrap时,您将获得出色的结果,这些结果通常需要一名全职图形艺术家的努力。

不过,我们现在正在离题。

您必须确定的主要问题是从DevExpress中使用了多少个控件。他们的大多数控件都遵循与asp.net webform控件中的基本控件相似的对象模型。

因此,例如,jQuery.UI控件具有出色的功能(一组出色的UI组件),但它们看起来太陈旧和过时。

您面临的问题不是要替代您使用的一些DevExpress控件,而是替代例如DevExpress“gridview”与另一个不同的网格控件会需要多少工作。每个使用的控件都不仅需要您花费大量的时间来寻找替代品,而且我认为更大的问题是找到一些看起来不像是由某个住在妈妈地下室的人,或者由那个醉醺醺的失业牛仔小丑创建的东西。

您的问题不是要找一些替代控件,而是您有多少可用于替代这些控件的代码和资金(时间和资源)。

你不能只是通过使用客户端JavaScript来更改一些C#代码,就像你不能只是通过将一些Pascal代码转换为VB.NET代码来更改代码一样。

从dev-express替代这些控件并没有更多的替代选择,就像明天决定将一些服务器端代码重写为VB.NET然后变成客户端JavaScript代码一样。

实际上,我正在告诉你的是什么?

计算机和IT行业已经工作了50多年,没有任何改变,如果你决定删除一些现有的控件并替换它们,也不会有任何改变。

可能你正在寻找你从未见过、从未听说过的东西,因此正在想象一些魔法棒,但在我们的行业

英文:

How many controls were used from DevExpress?

If you only used a few controls, then you only need a few replacements.

I would not call purchase of some controls from DevExpress a whole "framework", but that of only purchasing some controls to use with your project.

So, does the project use 3-5 or 50 of those DevExpress controls? (by using, I mean DIFFERENT kinds of controls).

If you only used a few, say like their GridView, then you would only need to find a replacement for their gridview control, or simply use the built-in one, and fancy it up with some css, and addtional options. (I would make a user control).

So, you want to determine what the controls used did, how many different controls were used, and then find some controls that have a great look and feel that you like.

Their grid controls are VERY nice, since they have some "really" nice filter options for the header of that grid control.

So, you need to find some control replacements, but how many did the project use will quite much determine scope here.

So, in place of say their tab control, then consider using the jQuery one. As noted, I would wrap say the jQuery.UI tab control into a user control, so then you can just drag + drop in that jQuery.UI "tab" control in place of the devExpress one.

Same goes for the multi-select combo box (dropdown list).

So, either you cobbile together some replacements of your own, or you find some replacemetns, or you buy some more controls from another vendor.

The challenge and issue will of course be that each of their controls has a specific object and event model.

However, that's not really any different then say if you started used sweet-alert, and now want to replace sweet-alert say with some jQuery.UI dialogs.

I would say that the real challenge of replacing their controls is often not so much finding a replacement, but finding something that has a great look and feel. The main huge wonderful bonus of the devExpress controls tends to be their look and feel. In other words, they had someone with REALLY good taste in terms of look and feel.

I mean, for years I used the ajaxtoolkit. (free, open source). it was and still remains a fantastic set of controls. The pop dialog, the tab control, the multi-select combo box, the HTML editor?

They are all great, but their HUGE downside is not the features, but the controls from that free toolkit look like something from the 1980's!!!

The popular jQuery.UI? Same thing, the controls look ugly and something designed by a un-employed rodeo clown living in a trailer park.

There is a HUGE but BEYOND huge reason that bootstap is so popular.

Know the answer?

Why of course bootstrap is popular for ONE big HUGE massive SIMPLE reason:

Bootstrap has a fantastic look + feel. (zero other reasons for bootstrap being popular!!).

If you ever hired a graphic artist to re-work the look and feel of your web site? Guess what? Their resulting work and suggestions will look like the default of bootstrap!!!

So, someone in the print and graphic design industry or someone with VERY good talent and great taste created the bootstrap system. So, when you use bootstrap, then you get fantastic looking results, results that normally would take a full time graphic artist on your staff.

Regardless, we are wondering off topic here.

The main issue you have to determine is how many controls were used from devExpress. Most of their controls do follow a similar object model as the base controls found in asp.net webform controls.

So, for example, jQuery.UI controls has a great set of features (a great set of UI components), but they look way too dated and old fashioned.

The issue you have is not that you want to replace some of the devExpress controls you used, but how much work it would be to replace say a dev-express "gridview" with another different grid control. Every single one of those controls used will not only require you to spend HUGE amounts of time finding a replacement, but I think the LARGER issue is finding something that don't look like it was created by someone living in mom's basement, or by that drunken un-employed rodeo clown that does not belong in our industry.

your issue is not finding some replacement controls, your issue is how much code and money (time and resources) you have available to replace those controls.

You can no more change a bunch of code in c# to then using say client side JavaScript can then you take some Pascal code, and covert that code to vb.net code.

There no more a replacement for those controls from dev-express then there is deciding tomorrow to re-write some server side code in vb.net to now being client side JavaScript code.

In fact, what I am quite much telling you?

How the computer and IT industry has worked for 50+ years has NOT change one bit, and it not change one bit if you decide to rip out some existing controls and replace them with different controls.

Its possible you are asking for something you never seen, never heard of, and thus are imagining some magic wand here, but those don't exist in our industry either, do they?

As I noted, for quite some time, I used the AjaxToolKit. Turns out that jQuery.UI has near EVERY the same kind of controls available. But, the massive difference is jQuery.UI controls are client side ones, but worse yet, they don't work the same as the AjaxToolKit ones. In other words, there is a nice "tab" control in AjaxToolkit, and there is a nice tab control in jQuery.UI. So, they both are tab control, but THEY are VAST different in their operations, how you use them, how they work.

However, both the jQuery.UI and the AjaxToolkit tab control?

My gosh, do they look like crap.

At least the jQuery.UI one can be easy bootstrapped styled.

Again, note how we not really now back to a JUST having a control replacement, but one that looks VERY nice and VERY tasteful out of the box, and a control that should take zero efforts on your part to obtain that great look and feel.

Want to know what product has those great looking controls and great look and feel out of the box?

the DevExpress ones!!!

huangapple
  • 本文由 发表于 2023年2月17日 23:45:26
  • 转载请务必保留本文链接:https://go.coder-hub.com/75486423.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定