Skip to content

u/shif

In this archive from Feb 2012 to Jan 2023

6
posts
242
comments
0
media
867
score

Top posts

e-commerce

I've worked with php for a while and im pretty confident on doing any site or app except for a online shop, a client recently asked me if i could do one, and im clueless on what the backend of a store looks like, how am i supposed to handle the credit card info and where am i supposed to send it?

5 points22 comments
Open on Reddit

is Eloquent viable for complex queries?

I'm wondering if you guys use eloquent on complex queries, for example i have this query that gets the stock of products by calculating the number of products going in minus the number of products going out that belong to an order that is paid: SELECT SUM(COALESCE(i.amount, 0) - COALESCE(o.amount, 0...

4 points8 comments
Open on Reddit

How well do you follow FIG standards?

I'm interested in know if people strive for complying with PSR's , do you use only PSR-0, do you use all of them?, are you switching from 0 to 4 now that it's out? I'm trying to start using them but there's some things in PSR-2 that go against what i'm used to, i previously used 2 spaces for indenta...

0 points11 comments
Open on Reddit

Top comments

Open source doesn't mean the maintainers owe you their time to review your ideas, a PR is essentially a proposal, they can choose to ignore it if they can't find the time for it, if the PR is later submitted by someone they have a trust relationship with like an employee of laravel then they can assume it's worth pursuing.

This is how relationships work in organizations, you are more likely to make it through if someone that the person at the gate trusts vouches for you.

48 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.