Laravel for DLang? I want create it!
Steven Schveighoffer
schveiguy at gmail.com
Sun May 23 20:47:45 UTC 2021
On 5/23/21 3:37 PM, russhy wrote:
> On Tuesday, 18 May 2021 at 10:09:43 UTC, zoujiaqing wrote:
>> [Laravel](https://laravel.com/) is the most popular web framework in
>> PHP. It is easy to use and easy to maintain.
>>
>> We currently have [hunt
>> framework](https://github.com/huntlabs/hunt-framework) as a web
>> framework, but in the process of using it, users need to learn more
>> unique usages. We hope to re design a new web framework based on
>> laravel's design method. So that more people can simply and quickly
>> use D programming language to develop web application server and
>> restapi server.
>>
>> At the same time, it is convenient for more PHP developers to use D
>> programming language for web application development.
>>
>> I'd like to hear your suggestions and expectations for such a web
>> framework.
>
> Focus should be on compilation time, i tried both vibe/hunt, and they
> suffer from horrible iteration time because of their massive use of
> std/templates
Yes, compilation time is a huge problem with introspection-based web
development.
I have heard earlier that diamond is better, but I've never tried it.
I have vague plans to make my own framework with a focus on compilation
and development speed. I think there are ways to make it work.
Essentially, I would make a "development" config, and a "release"
config, where the former foregoes compile-time duck typing and
compile-time generation of HTML, and the latter uses the same code but
uses lots of introspection and inlining to optimize the hell out of it.
With D I think it's eminently possible.
> For information, my (personal) project without std import fully
> recompile in 0.5 seconds, so it is possible with D to achieve faster
> iteration time than GO, wich will be something worth mentioning for
> marketing purposes
Excellent!
-Steve
More information about the Digitalmars-d
mailing list