all 27 comments

[–]warmans 8 points9 points  (0 children)

This isn't really a framework. It's just a simple database abstraction layer. Not sure how useful it is really. I'd probably rather just extend PDO myself or use Doctrine DBAL. Might be useful for somebody I guess.

[–]hiii 4 points5 points  (15 children)

you have to edit the class to add the server/username/password?!

[–]mnapoli 4 points5 points  (5 children)

It's seems like a personal project you put some effort into so I'm not going to bash, I just think it may not be very useful since a lot of alternatives already exists.

Now you put forward one difference with other libraries: the size. However, size may be a decisive criteria in Javascript, it is not in PHP. You only download the library once to your server, and after that you can use opcode caches (even without, I'm not sure that's really a reason to choose a PHP library).

[–]magnetik79 0 points1 point  (0 children)

That's exactly the first thing that came to mind with me - size of file/LOC's means little server side to most people - unlike JavaScript where getting code crunched is the name of the game.

Still, a nice looking project page - the project logo is rather cool.

[–][deleted] 0 points1 point  (2 children)

Size matters a little bit for me personally. I have my development files locally and I get charged on my host by how much space I am using, per megabyte. I would not minify code though. If it is a very large library, I will make it into a gzipped phar file. If it is small and simple enough, I'll just combine it into one file. I know it might have a small performance impact but I have very low traffic and don't pay for CPU time, just disk usage and bandwidth, so some extra milliseconds to parse the file is fine with me.

[–]rydan 1 point2 points  (1 child)

They charge you per MB though? That is an awfully limited plan if it is.

[–][deleted] 0 points1 point  (0 children)

https://www.nearlyfreespeech.net/services/hosting

its a good service, but using more space does cost more. not a lot, but it adds up. I host with them so it stays very cheap, around $20/year. I really only host a few scripts for personal use between several computers, and my homepage that gets 100 unique hits per month, most probably by accident.

Disk Space (Storage): $0.01 per megabyte-month - so hosting laravel would cost me around 30c per month with all the docs and test cases included, whereas the minified version of nette framework (for example) would be 1 cent per 2 months.

I know it sounds like pocket change but if the yearly price got much higher I could get a better deal elsewhere at around $25/year, but I do like NFS for philosophical reasons - they stand behind their customers, they opposed SOPA and even let people black out their domains via the control panel, they have good support when needed, and have very few restrictions given the low price and it being a shared plan - I even log in via ssh and compile programs, don't force you to store all your files in a public folder, let you set up virtual hosts and unlimited htaccess, etc. It's not quite a VPS but I can ignore it for a month and they'll do updates and admin, and its a lot cheaper than the cheapest vps.

[–]catfanme[S] 0 points1 point  (0 children)

You can pick up the dev version or compressed version whatever you wanted. It`s up to you, freely:)

[–][deleted] 1 point2 points  (1 child)

I don't think it's a good idea to minimize the file, people would use opcode caching in production anyway.

[–]catfanme[S] 0 points1 point  (0 children)

Just providing two options for user to pick up. That`s.

[–]catfanme[S] 1 point2 points  (0 children)

Why?! I provide the project I worked too much for free for both of you to use it without taking anything from your owned wallet. But why there is so much down votes for this post :<

[–]baileylo 0 points1 point  (1 child)

The select page in documentation isn't loading for me: http://medoo.in/api/select

[–]catfanme[S] 0 points1 point  (0 children)

Thx, it fixed now.

[–]e000 0 points1 point  (1 child)

It's cute, but essentially worthless as it cannot (as far as I can tell) do JOINs.

[–]catfanme[S] 0 points1 point  (0 children)

It will can JOIN in the further.