Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 21 2017 23:25
    baconbrad commented #30
  • Nov 08 2017 10:25
    lakinmohapatra opened #30
  • Sep 05 2017 01:44
    wookiecooking closed #11
  • Sep 04 2017 20:25
    wookiecooking closed #3
  • Aug 05 2017 22:38
    Erim32 commented #21
  • Aug 05 2017 22:15
    Erim32 commented #21
  • Jun 22 2017 09:18
    dignityinside closed #29
  • Jun 15 2017 16:23
    baconbrad commented #29
  • Jun 14 2017 14:51
    dignityinside opened #29
  • May 17 2017 20:28
    baconbrad closed #28
  • May 17 2017 20:28
    baconbrad commented #28
  • May 13 2017 15:10
    visualbadger opened #28
  • Apr 28 2017 19:34
    baconbrad commented #27
  • Apr 28 2017 07:04
    Ulterior commented #27
  • Apr 28 2017 07:03
    Ulterior commented #27
  • Apr 28 2017 07:02
    Ulterior commented #27
  • Apr 27 2017 18:41
    baconbrad closed #25
  • Apr 27 2017 18:41
    baconbrad edited #25
  • Apr 27 2017 18:41
    baconbrad edited #25
  • Apr 27 2017 18:39
    baconbrad commented #27
Austin Turnage
@wookiecooking
i hear you
things can go bad, quick
Brad Metcalf
@baconface
Time to get back on sessions and cookies
I think I am over thinking it. So I slept on it.
Brad Metcalf
@baconface
You are gonna think I am crazy but I restructured the main.js tonight.
Needed to be done.
Austin Turnage
@wookiecooking
pushed?
what are your feelings about ecmascrip6?
Brad Metcalf
@baconface
Gonna push it in about 15 min, still testing.
Brad Metcalf
@baconface
New version pushed
Austin Turnage
@wookiecooking
cool ill pull shortly
Brad Metcalf
@baconface
Ok, I accidently goofed up my email again in request
Fixed it with another history rebuild. Last time I promise. Haha
Brad Metcalf
@baconface
Now I can get back to sessions and cookies.
Repushing the repo, didn't realize it was reverted. Getting real sick of Github for Windows.
So you might want to pull it again.
Brad Metcalf
@baconface
Sessions are working
Brad Metcalf
@baconface
For some reason php-webkit switches from 127.0.0.1 to localhost occasionally. So cookies and sessions worked. But due to this bug cross domain restrictions won't let them talk to one anothers sessions/cookies
At least I can kinda stop pulling out my hair
Brad Metcalf
@baconface
Gonna do a little more testing and upload the fixed version
Austin Turnage
@wookiecooking
I think ive dealt with cross domain issues before in nw with another project
is it php doing it or nw?
Brad Metcalf
@baconface
Fixed version makes the host localhost. 127.0.0.1 no longer used. But it will show up if you request the local address.
Austin Turnage
@wookiecooking
cool
Brad Metcalf
@baconface
This way it is more compatible with WP, Joomla, etc. And you can also change the host if you wanted to, a custom dns name if that was your bag.
But basically just a big mix up with the ENV and host name being the IP.
So everything was working right, I just misconfigured php-webkit.
Brad Metcalf
@baconface
Can't log into wordpress still, but at least it doesn't tell me cookies are not supported.
Wrong password it alerts me but using the right one does nothing.
So I imagine I am missing an ENV wordpress relies on.
I suspect it is number 7.
I don't even like wordpress. I just feel like it needs to work in it. Haha
Brad Metcalf
@baconface
Site front end shows me as logged in. WTF WP
Brad Metcalf
@baconface
Pushed new version. Off to bed.
Brad Metcalf
@baconface
Reading up on node.js cluster. I think it might make a big difference and fix issues we have or will have. Especially if we have a case like WP that wants to run multiple PHP instances at a time. - https://nodejs.org/api/cluster.html
Brad Metcalf
@baconface
For example, I make an ajax request do a get and post at the same time or just any multiple requests vanilla express.js fails to deliver. This should integrate with with express.js and resolve that issue if what I am reading is true.
Otherwise we would have to look into packaging a webserver like mongoose to achieve functionality for more complex PHP projects. Something I would like to avoid.
Brad Metcalf
@baconface
And according to this it could help overall performance even with a basic implementation. - http://rowanmanning.com/posts/node-cluster-and-express/
Brad Metcalf
@baconface
But I guess a limitation would be if you were running on a single core machine you would still suffer this issue.
Brad Metcalf
@baconface
Got my raspberry pi today. Woot.
Brad Metcalf
@baconface
Workspace 1_002.png
NW.js appears to work on my Rasp Pi 2 Model B using the ARM builds. But it seems it has an issue with php-webkit. Likely io.js related.
Brad Metcalf
@baconface
Ping! Sorry I have been gone for a bit due to work. I also got engaged and been spending more time with family. But will be back to working on this again soon.
billib
@billib
Hello, Iam using php-nw and I have trouble runing on it my favorite PHP fw codeigniter as it seem It does'nt route correctly.
rafaelhasson
@rafaelhasson
Hello from Brazil. First time on php-webkit repo. sounds amazing! WIll do 1st test now :)
rotem-grim
@rotem-grim

@baconface Hi good work on the amazing php-nw!!
I've got the same problem as billib, I've tried Slim framework and laravel but the pretty urls wont work.
We need something that can do this:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]

without it routing wont work in many php frameworks...
Please help us :)

deepk2u
@deepk2u
I have a php web application written using code igniter framework, which has controllers and modals which calls rest apis and gets the data on view. when i run it using php-webkit, main page loads successfully but when i do any call, it never calls the api from any modal. Does the php-webkit supports server side calling?
Sarabveer Singh
@Sarabveer
hello, im coming here from using php-desktop, how do i use this with NW.js?