by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Yohanes Candrajaya
    @mootensai
    are there any benchmark for performance of this framework? like this https://www.techempower.com/benchmarks/
    biezhi
    @biezhi
    @mootensai at present, the document is in Chinese, the check will be issued after the English document, Blade does not support HTTPS, generally want to use Nginx to do,
    Benchmark tests have been applied and are pending review
    you can see progress at TechEmpower/FrameworkBenchmarks#2973
    Yohanes Candrajaya
    @mootensai
    ok, thanks..
    biezhi
    @biezhi
    😊
    biezhi
    @biezhi
    Apply to Wappalyzer for joining Blade AliasIO/Wappalyzer#1778
    sar
    @mysar
    :clap:
    biezhi
    @biezhi
    @mysar welcome to join us :clap:
    biezhi
    @biezhi
    Optimizing Blade performance and upgrading to 2.0.4-R1 version, PR has been launched to TechEmpower, waiting to join the 15 round of testing :sparkles:
    José Vieira Neto
    @NetoDevel
    @biezhi nice cli, really the best solution for cli
    I will cancel the development of the one I started with ruby.
    biezhi
    @biezhi
    @NetoDevel thank you very much for your contribution, and hope to cooperate with other things.
    José Vieira Neto
    @NetoDevel
    @biezhi Does the blade support reactive programming?
    did you see the new version of spring?
    biezhi
    @biezhi
    @NetoDevel your ideas are always turbulent, i like. I'm going to take a look at the concept of responsive programming in Spring5, understand the strengths and weaknesses, and then decide whether Blade needs such things, and think about these issues to make programming more interesting. :smile:
    six.nonacosa
    @pkwenda
    It is very 666
    biezhi
    @biezhi
    Welcome to your ideas and suggestions, and communicate with the interesting boys here.
    :clap:
    I'm going to write English documents for two days, but there may be sentences, grammar wrong places, if who would like flowers to help me fix it, haha ~
    W.Z.
    @naiive94
    cool cooler coolest
    José Vieira Neto
    @NetoDevel
    @biezhi I'm thinking of developing an annotation @EnableServiceDiscovery
    to register a blade application on eureka.
    What do you think about this?
    among other things to help in a microservice architecture...
    itfol
    @itfol
    public void updateUser(@Param HashMap<String, String> map, Response response) {}
    Can I use it like this?
    biezhi
    @biezhi
    @itfol It is not currently supported to inject parameters into the Map, but you can create a issue if you like. The next version will add it. Currently you need to create a class to receive the parameters, like this:
    public void updateUser(User user, Response response) {}
    Littlefisher619
    @Littlefisher619
    hello guys, i'm new for blade development. Could I register multiple middlewares to single URI?
    When I try Blade.of().use(new SignatureMiddleware(),new AuthMiddleware()).start()
    And add a breakpoint to SignatureMiddleware's before() function
    I found this function never be executed. It just like gone away.
    Then I try Blade.of().use(new AuthMiddleware(),new SignatureMiddleware()).start()
    Only the SignatureMiddleware is working
    Littlefisher619
    @Littlefisher619
    before() function in AuthMiddleware never be executed.
    brucejobs
    @brucejobs
    what's pl
    support redssion
    @biezhi
    先修客
    @liujiaxian
    java.lang.NullPointerException
    at com.blade.embedd.EmbedJettyServer.<init>(EmbedJettyServer.java:65)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at java.lang.Class.newInstance(Class.java:442)
    at com.blade.Blade.startNoJoin(Blade.java:562)
    at com.blade.Blade.start(Blade.java:531)
    at com.blade.Blade.start(Blade.java:537)
    at com.sp.Application.main(Application.java:7)
    Exception in thread "main" java.lang.NullPointerException
    at com.blade.Blade.start(Blade.java:532)
    at com.blade.Blade.start(Blade.java:537)
    at com.sp.Application.main(Application.java:7)
    java -jar Error occurred,How can I solve this?
    先修客
    @liujiaxian
    java.lang.NoClassDefFoundError: com/blade/Blade
    SirVEGAS
    @23Nacional21_twitter
    El framework se ve bien , me recuerda a flask de python
    José Vieira Neto
    @NetoDevel
    @Littlefisher619 did you manage to solve the problem of multiple middlewares? Would like to help.
    @liujiaxian, strange .. never saw the blade with support the jetty server only the netty.
    Subhayan Dutta
    @subhayandutta_twitter
        final Gson gson = new GsonBuilder()
            .excludeFieldsWithoutExposeAnnotation()
            .excludeFieldsWithModifiers(java.lang.reflect.Modifier.TRANSIENT)
            .create();
        Type listType = new TypeToken<List<MyClass>>() {}.getType();
        String jsonElem = gson.toJson(test, listType);
        return RestResponse.ok(test);
    The above code hangs on the last line. Using JsonElement and its toString() causes the json data to get extra quotes. Any ideas ?
    Subhayan Dutta
    @subhayandutta_twitter
    Another case:
    2020 Jun 25 20:20:44:701 ERROR DefaultExceptionHandler -
    java.lang.UnsupportedOperationException
    at org.objectweb.asm.ClassVisitor.visitNestMemberExperimental(ClassVisitor.java:248)
    at org.objectweb.asm.ClassReader.accept(ClassReader.java:651)
    at org.objectweb.asm.ClassReader.accept(ClassReader.java:391)
    at com.blade.reflectasm.ASMUtils.findMethodParmeterNames(ASMUtils.java:35)
    at com.blade.mvc.handler.RouteActionArguments.getRouteActionParameters(RouteActionArguments.java:39)
    at com.blade.mvc.RouteContext.injectParameters(RouteContext.java:603)
    at com.blade.server.netty.RouteMethodHandler.handle(RouteMethodHandler.java:79)
    at com.blade.server.netty.HttpServerHandler.executeLogic(HttpServerHandler.java:158)
    at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642)
    at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
    at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
    at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:462)
    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:897)
    at java.base/java.lang.Thread.run(Thread.java:830)
    This is different, this is a simple GET