Use CodeOnTime asp.net

I plan to use the CodeOnTime code generator in my asp.net application. Before starting this, I just want to confirm that it is reliable for a large project? Is it possible to change code in CodeOnTime?

If someone used CodeOnTime, please suggest me to use it or not.

+4
source share
4 answers

I used Code-on-Time before stopping using it.

The problem itself is multiple:

You will have to weigh this product (and other non-ORM products like IronSpeed, Code-On-Time, CodeCharge, which uses proprietary data access levels.) Versus using the ORM level with Advanced Code-Generators.

The first problem you will encounter is defining a piece of business logic. You will need their Premium or Unlimited version. So, you switch from Standard to Premium very quickly. Personally, I encountered many limitations in my Premium version and needed to upgrade to the Unlimited version, such as complex business logic, dynamic access control (necessary to redefine access control), simple audit and logging.

The unlimited version of CodeOnTime is $ 2,499 for 12 months. Unfortunately, I could not justify this price due to the recession in the USA and cost reduction. Therefore, if you own CodeOnTime for 4 years, you can imagine a big bill for which you ultimately pay.

The second problem you will encounter is part of the data model and what actually constitutes the ORM + MVC approach and the Code-Gnerator level approach.

For example, the way their modeling works is that it extracts all the MSSQL tables and creates editing fields, tables, and grids from it. This works great until you need to add business logic, limit input, validate input. To do this, you will need to make a lot of custom code if the default settings are not applicable to you. You can see this in the extended Time Code tutorials.

The third problem is slowness. Their demos are quick because they load limited data, clear the data after a while. In live production, the client must come to terms with CSS problems (this was later fixed in later versions), slow loading of massive data (try in a production environment), editing collisions that can ruin the data.

The fourth problem is the black box approach. You want to check your final results. How do you check all attributes and view all parameters and settings without losing your previous work due to code generation errors? I lost my job due to code inconsistency. It’s very hard for me.

An alternative to Code-On-Time is an objective examination of Visual Studio and an assessment that the use of simple code generators (CodeOnTime, IronSpeed, CodeCharge) outweighs using the C # + ORM + MVC or WinForms level).

Examples:

  • LBLGenPro (ORM) + CSLA.NET (code generation) + ASP.NET MVC
  • DataGen.net (ORM) + CSLA.NET (code generation) + WinForms
  • Entity Framework + CSLA.NET + WinForms or MVC

  • LBLGenPRo (ORM) + Entity Framework + (with your own rules and workflow engine) + ASP.NET

  • Entity Framework + (Workflow Engine) + ASP.NET
  • SubSonic + Castle ORM + ASP.NET MVC

  • Linq + ASP.NET Dynamic Data

  • Entity Framework + ASP.NET Dynamic Data

In other languages:

  • PHP + Cakewalk (you can almost create an entire site with 50 tables in 1 day)
  • PHP + YII

  • Java + Struts

  • Java + JBoss + JSF + ExtJS

The above results allow you to achieve a more cost-effective way and what you can build in your enterprise.

This question has been here for almost 3 months without an answer. You can imagine a really small community versus a huge community for C #, ORM and ASP.NET MVC.

Hope this helps.

+4
source

I have to disagree with buttercup on several of my points, which are now CodeOnTime (COT) users for several projects.

As for No. 1 - introducing your own .NET business logic, you can do this with your standard ($ 350) version, and I successfully did it.

As for # 2, COT DOES uses the MVC pattern, but not Microsoft's β€œASP.NET MVC”. It’s true that it does not do ORM as such, but creates .NET business objects based on your tables and database views. You could argue that you can use views for this purpose.

In terms of performance, I noticed a significant increase in data access with COT code over the past year. I think they changed their level of data access in these lines. I would add that the performance was not too shabby for a start, though.

As for No. 4, there are no "black box" components generated from COT - unlike some other code generators, native DLLs are not created, etc. Although I have not tried it, I would have thought that it is possible to build unit tests that go against the created COT business objects. I agree that you should be careful when mixing any custom code with COT-generated code, although the tool automatically backs up the existing code base before regenerating it.

By the way, I have no connection with COT ...

+1
source

buttercup - The languages ​​and tools you mentioned are excellent and good standards for pragmatic development. Although, I think you are missing COT goals, which should do a lot of the hard work of processing the user interface and backend for database applications. COT will increase productivity by 5-20 times in comparison with the language and tools that you mentioned, including Telerik products. Do not misunderstand me. I would never use COT for anything that is not predominant in a database application.

1) As for the black box, they are not.

2) Verification. Validation is done for you provided that you have configured your db correctly.

3) COT is pretty fast and responsive. If you have a huge database and you have not completed your due diligence in SQL optimization, then yes it will be slow.

In conclusion, COT is very customizable. The architecture is very solid. The full function is unmatched by anything.

0
source

I agree with Danno. We use COT for our customers (although they are small and medium-sized companies), and this offers many opportunities and allows us to offer very functional solutions for our customers with record speed. This is pretty stable, but first you need to understand how it works. Although I would not use it for critical systems ...

br Ivan https://www.crazyrobot.be

0
source

All Articles