Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    tahpot
    @tahpot
    It's more like, how Amazon AWS provides a point and click interface to manage infrastructure, this will provide a point and click interface for building web apps.
    It puts more emphasis on configuration through the UI and then fall back to writing code when required.
    So you can basically fill in a form to manage database models, actions, views, security policies etc. When that auto generated config isn't enough you can then drop into code and customise without constraint.
    Stefan Siegl
    @stesie
    are you already public then? or still building the initial foundation?
    tahpot
    @tahpot
    Still building the initial foundation. Three apps developed internally using the platform will be released in the coming month, then it will be opened up for invite beta access to developers.
    Stefan Siegl
    @stesie
    cool :) let me know if you depend on the exception propagation pull request ... currently it's a bit on hold as I'm concentrating on getting V8Js run on PHP7
    if it enters beta access, feel free to let me know, I'd definitely be interested in having a look around :)
    tahpot
    @tahpot
    Sure, will do.
    If it's not too much effort the exception propagation would be good to get sorted. At the moment we have some pretty ugly hacks to convert PHP exceptions into manageable "errors" to avoid breaking V8JS.
    Stefan Siegl
    @stesie
    good to know, I'll concentrate on that a bit more then. Just followed up on the pull request, looking forward to your answer
    tahpot
    @tahpot
    Thanks, I'll check it out.
    tahpot
    @tahpot
    Hey stesie - hope you're well.
    Have you had a chance to look further at merging the JS propagation by any chance?
    @stesie
    Stefan Siegl
    @stesie
    @tahpot I'm fine, thanks. Unfortunately I didn't have any time left finishing the pull request (especially having a look at the issues with V8 versions 4.2 and 4.3)
    Stefan Siegl
    @stesie
    ... patch now stable on 4.2 and 4.3 as well; compatibility flag still todo; maybe I'll find the time tomorrow night ...
    tahpot
    @tahpot
    Nice work. That would be awesome :)
    Stefan Siegl
    @stesie
    patch merged meanwile; Jenkins doing a final test on upcoming 0.2.5 release
    Stefan Siegl
    @stesie
    @tahpot just uploaded the release tarball to pecl ;)
    tahpot
    @tahpot
    Love your work mate :)
    @stesie
    Stefan Siegl
    @stesie
    just released bugfix version 0.2.6, there was one reference counting issue left, if you enabled PHP->JS exception propagation and then don't catch it in JS so it pops back to PHP
    this lead to crashes on V8Js shutdown
    Stefan Siegl
    @stesie
    php-v8js is approaching PHP7 ... already 97.3% of the test suite is green :-)
    Stefan Siegl
    @stesie
    yippie yeah! test suite finally is green with PHP7 :D :D :D
    Tieme van Veen
    @teameh
    Is this guide still up to date? Trying to get v8js working on my vagrant box but running into issues.. https://github.com/phpv8/v8js/blob/master/README.Linux.md

    This line
    echo -e "create /usr/lib/libv8_libplatform.a\naddlib out/native/obj.target/tools/gyp/libv8_libplatform.a\nsave\nend" | sudo ar -M

    Does not add /usr/lib/libv8_libplatform.a it should right?

    Tieme van Veen
    @teameh
    Nevermind, this fixed it for me :grin: phpv8/v8js#214
    David Heidrich
    @BowlingX
    Hey :) thank you for the nice work!! I have a question about async js execution and print
    If I do something like setTimeout(() => print("test"), 500); there is no result, how do I make async execution work?
    do I need to run a callback with the result?
    Stefan Siegl
    @stesie
    hmm, maybe I should look here a little more often ...
    @BowlingX setTimeout is a browser extension to JavaScript (actually it's on the window object there), ... it's not part of JavaScript "core" and hence not available in V8Js
    @BowlingX Node.js has it as well, as it has a well-defined event loop -- there's no such thing in V8Js, ... your application has to provide that (and must expect calls from JS then)
    Jan Tolg
    @hantc
    hey guys, exists pre-compiled version of v8js for windows php 5.6. vc11 thread safe?
    DiaoQizhuo1991
    @DiaoQizhuo1991
    Hey, all. I just started a new career using v8. Nice to meet you guys.
    Stefan Siegl
    @stesie
    @hantc sorry for not answering earlier (I really should poll this chat more often), unfortunately v8js won't run on vc11. This is more a problem with V8 itself however which uses some pretty recent c++11 std stuff, which is only available from vc14 (and higher)
    Austin Peterson
    @theskillwithin
    We are using v8js (for a react project). and when it gives an error its just terrible and doesn't render anything and gives an ugly error. Anyone have advice how I can or how I can have the BE team create cleaner errors and still render even if there is an error?
    Austin Peterson
    @theskillwithin
    cricket
    Tieme van Veen
    @teameh
    @theskillwithin I had the same thing. My only advice is to make give V8 sources instead of minified JS while you're developing and know how much lines you're inserting before your JS bundle so you can the error line the best way
    Which php lib are you using for rendering?
    Nils Magnus Englund
    @nmenglund
    Hi! Does anyone know of any performance metrics on running v8js compared to a node service for server-side rendering?
    Nils Magnus Englund
    @nmenglund
    Or what's recommended to run in prod/development in general ... V8js is awesome, but I'm just a bit worried (perhaps needlessly) about making the dev and prod environments more prone to breaking during upgrades etc.
    Stefan Siegl
    @stesie
    I don't know of any such comparison
    but Node.js should be way faster and easier "by default", so if you can easily do so, prefer that
    the reason for that is the process model of PHP, where it more or less shuts down everything for each and every request; if you use php-v8js your V8::Isolate will be forced to do the same ... and stuff like V8's JIT compiler won't effectively kick in since the isolate is destroyed upon every request
    in order to somehow soften this effect you'll likely want to use heap snapshots with your code baked in, etc ... which is all perfectly doable, yet needs to be done and likely can be skipped if you go with Node.js
    Kiril Kirkov
    @kirilkirkov_twitter
    Hello, everyone
    can i ask something if there is anyone online?
    Sumit Pore
    @sumitpore
    Hello Guys, I have been trying to install v8js and phpv8 for many days now! Every time some or other error pops up during install. finally, I was able to install it, but after installing, I was trying to run example js code available on the git repo homepage. It's not working. It says 'Isolate' class could not be found. I installed '7.5.288.30' version of V8. I am running php7.3 and 2.1.1 of phpv8.