Skip to main content

Code on time

 3 down vote
   

I used Code-on-Time before stopping to use it.

The problem itself are many-fold:

You will have to weigh this product (and other non-ORM code-generating products, like IronSpeed, Code-On-Time, CodeCharge which uses proprietary data access layers.) vs using ORM-layer with Advanced Code-Generators.

The first problem you will run into is defining the business logic part. You will need their Premium or Unlimited version. So you start to upgrade from Standard to Premium quite quickly. Personally, I bumped into many limitations in their Premium version and needed to upgrade to the Unlimited version, such as complex business logic, dynamic access control (needed so you can redefine access control), simple auditing and logging.

The CodeOnTime unlimited version is US$2499 for 12 months. Sadly, I could not justify this price because of recession in the USA and cost-cutting. So if you own CodeOnTime for 4 years, you can imagine the big bill you end up paying for.

The second problem you will run into is the data-model part and what actually constitutes ORM + MVC approach vs. Code-Gnerator layer approach.

For example, the way how their modelling works, is that it pulls all the MSSQL tables and generates edit fields, tables and grids from there. That works great, until you need to add business logic, limiting input, validating input. You'll have to make lots of custom code for this, in case the default settings does not apply for you. You can see that in the Code-on-Time advanced tutorials.

The third problem is slowness. Their demos are fast because they load limited data, clear the data after some time. In live production, the customer has to put up with CSS issues (which was later fixed in later versions), slow loading of massive-data (try it on production environment), editing collisions, which may corrupt data.

The forth problem is black-box approach. You want to test your final results. How do you test all the attributes and go through all the parameters and settings without losing your prior work due to code-generation errors? I've lost work due to code-generation inconsistencies. That bit me really hard.

The alternative to Code-On-Time is to look at Visual Studio objectively and weigh whether using simple code-generators (CodeOnTime, IronSpeed, CodeCharge) outweighs using C# + ORM + MVC or WinForms layer).

Examples are:

    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

On other languages:

    PHP + Cakewalk (you can almost generate a whole website with 50 tables in 1 day)

    PHP + YII

    Java + Struts
    Java + JBoss + JSF + ExtJS


The above achieve the same results in a more cost-effective manner and something you can build your business upon.

This question has been here for almost 3+ months unanswered. You can imagine the really small community vs. the huge community for C#, ORMs and ASP.NET MVC.

Hope this helps.

Comments

Popular posts from this blog

Sunrise in Woy woy

当今社会发展的终极目标

为什么百分之八十的人都不快乐? 为什么大家的职业生涯很少带来快乐? 为什么随着年龄的增长烦恼越来越多? 为什么不能做自己喜欢做的事? 为什么社会不能保障人民的幸福? 为什么人类很难达到时间自由和金钱自由?

bitcoin resources

新手老手纠正姿势的3个好网站 gitcoin.co 这里只能暴富,无法亏钱(不是交易所) 类似车库咖啡吧 可以学Quest和实践,还有免费NFT拿 coinlist.co 众多百倍项目,从这里起步发行 https://www.tokensets.com   explore portfolio 解决韭菜跟单灵魂3问 买什么?可以割么 这类问题 中文的有待看到类似网站。以下是中文资源: Ytm.ltd  界面比较土的早期门户  作者云天明 在西安 很低调但也算早期布道者大牛 新锐可以看下区块娘(微博)的网站 dappchaser.com 门户可以看 matataki.io 瞬 电报可以看hishitcoin101 也有很多0撸暴富项目 良心自媒体吧 以前我力推过的汤强的宏观分析和书籍,最近在跟的王大有的分析思路,刘教链的超级稳健(宁可错过,不错投),别人推荐的defi何太极,也都可认真看下