Hacker Newsnew | past | comments | ask | show | jobs | submitlogin



Fun fact: the framework's author [1] is a member of the governing board of a major Polish political party (Razem).

[1]: https://en.wikipedia.org/wiki/Adrian_Zandberg


The views are a little disappointing, using just plain mustache style. Shouldn't a cobol web view have something like

    HEAD DIVISION
    META-TAGS SECTION.

    BODY DIVISION.


I know it runs on Apache, but the install scripts should be written in JCL, just because.


DIV DIVISION?!


HR DEPARTMENT.


There is a webframework called Z WebPortal from a US company, Zortec Intl. that has a COBOL-like backend that will run 'real' COLBOL code too, with a js layer and xml to draw the output in the browser as html.

It is proprietary, but very fast and the backend code is much simplified over COBOL.

Writing to a log file looks like:

    fd ?logthis-txt  reclen 80
    def logthis-usr      gp 80
        logthis-date     an 10
        logthis-time     an 8 

    open extend logthis using '/var/log/logfile.txt'
              on error next sentence
         else display date lj upon   logthis-date
              call GETIME using      logthis-time
              move usrid          to logthis-usr
              write logthis 
              close logthis.
You can see that a lot of the (unnecessary) typing done in COBOL has been removed. It has its limitations as most web-frameworks do, but if you have mainframe COBOL and want to present it in the browser with fancy colors and graphics it has more pros than cons.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: