Live data from Hacker News

The FuqIt Web Framework

github.com

51–60 of 84 posts

Re: The FuqIt Web Framework

#51
post #35
post #30

> FuqIt is Copyright (C) Zed A. Shaw All Rights Reserved . [emphasis mine] That's an interesting approach. I take that Zed doesn't want this to be actually used anywhere?

Good catch. Without an explicit license grant forking the repo is technically copyright infringement.

And a violation of Github's ToS.

(Interesting reading: http://cr.yp.to/softwarelaw.html)

Re: The FuqIt Web Framework

#55
post #5
post #4

Excuse my French, but... if this hadn't been written by an internet celeb, nobody would have given two shits about it.

Pretty much. Oh, except, there's actually an interesting idea in there if you look really closely.

I think you can run python modules installed in the system through this framework.

Re: The FuqIt Web Framework

#56
post #45
post #13

Well must be a slow news day today so I'll say a few things about FuqIt for the high-minded HN crowd: 1. Don't run this at all in anyway that someone can access it. It's ultra hackable. Extra points if people can point out why. 2. I basically am just goofing off. The idea though is this thought: "What if PHP got it right?" 3. There's some little tricks in there you may not have seen before. Take a look at the code if…

I've seen something similar done with the Mako templating library which allows mixing html and Python. We jokingly dubbed it PHPython, and it had grown into horrible spaghetti. I think what happened was it started out as a quick and dirty thing that just grew and grew.

Just like most PHP projects.

Re: The FuqIt Web Framework

#57
post #17
post #16

There's a niche for something that's as sloppy-easy-to-get-started as PHP, but with a more concise/consistent/powerful language. Perhaps, a "PYP" - Python with PHP characteristics. This is a little like that.

Yay! Someone gets it!

I've been thinking along these lines for a while. For python-based, I think your toolkit is a good stake in the ground.

I think Lua-based is very interesting. openresty is a great choice for replacing the simple glory of what Apache/PHP once was.

Although, Lapis (moonscript/Lua) adopts "Web-MVC", the way its coded is a toolkit of un-opinionated libs. You can skip the MVC stuff and just have a clean set of libs for throwing things in a directory and getting your bang for very few bucks.

http://leafo.net/lapis/ http://moonscript.org/ http://openresty.org/

Re: The FuqIt Web Framework

#59
post #55
post #5

Earlier quoted context omitted.

Pretty much. Oh, except, there's actually an interesting idea in there if you look really closely.

I think you can run python modules installed in the system through this framework.

Yup, and expose any file on the file system.

Re: The FuqIt Web Framework

#60

Earlier quoted context omitted.

Depending on how much you want to reduce it, you can dismiss almost anything having to do with a webserver this way. Some more powerful versions that dismiss any and all computer related ideas that have output: - But isn't that just calling a bunch of syscalls? - But isn't that just moving a bunch of bytes around?

Well, yes, but I picked CGI for a reason. Zed says in one of the other comments that the inspiration for this was "What if PHP got it right?" PHP came out of a long tradition of CGI apps, as a way to make templating dead-simple and still provide a bunch of programming language tools. The brilliant idea behind CGI is that you set a directory as your cgi-bin, drop an executable file, and then the webserver will run tha…

This is the best explanation of CGI I've encountered so far.
Post reply on HN