Kore4 and Python
Why do project like this spawn in hordes? I don’t ask it to criticize kore4 in any way, let me explain.<p>Every new framework for web does almost the same thing in slightly different way: serve http routes by assigning functions to it and inserting some middleware to check&#x2F;replace something in the request. But why is it important at all? Why don’t we see numerous both-side frameworks which make http (rest, ws, etc) completely transparent?<p>As a long-time desktop dev I would like to use an object lib, which would take the burden of api and provide clean interfaces between client&#x2F;server&#x2F;db. Like this pseudocode:<p><pre><code>  # backend
  @net()
  @db()
  class Car:
    members
    methods
  Car.export(some_members)
  Car.export(some_methods)

  &#x2F;&#x2F; front
  let edit = await db.edit()
  let car = edit.new(db.Car)
  car.year = 2013
  car.pic = await edit.upload(some_pic, progress_handler)
  car.vendor = db.Vendor.find({
    title:’Ford’})
  ...
  await edit.save()
  &#x2F;&#x2F; or edit.cancel()
  &#x2F;&#x2F;    which also removes pic

  &#x2F;&#x2F; eventually
  let car = db.Car.find({year:2013})
  car.drive_to(some_loc)

  # car drives to some_loc in backend
  # Your taxi app prototype
  # almost done here
</code></pre>
Instead we happily define routes in yet another way, which feels like when I was in a school writing masm 100-liners to open a file and print its contents. Am I missing something?<p>I know about vaadin and outsystems, but these are enterprise behemots, one paid, one too complex* and opinionated to begin with. Why not npm install dbnetlib, app.use(dbnetlib()) and go create?<p>* a good sign that you’ll have to jump through hoops on non-standard tasks.