Jump to content


Member Since 06 May 2003
Offline Last Active Today, 05:28 PM

Posts I've Made

In Topic: Need a fast way to save a snapshot of MySQL table using PHP

30 June 2015 - 10:23 PM

I agree with both mac and Barand, but more so in practice I've used Barand's method.  I like to call that 'max end date' the 'PERPETUITY_DATE'.  Makes for a nice constant.


Other benefit of that, is that you have a complete price history for any item, and there's often some nice analysis you can do with that data and visualizations like charting the price variation of items over time.

In Topic: Do I Need Arrays?

30 June 2015 - 10:17 PM

I don't see the "reservation" aspect of this app.  


What problem(s) are you actually trying to solve?  You're down in the weeds and you have to start with the requirements of the app.

In Topic: help about phpMyAdmin!

30 June 2015 - 10:12 PM

Seems pretty clear.  It's trying to connect to your mysql server and the connection is being rejected.  The user it's trying to use the 'root@localhost' user.


You need to configure phpMyAdmin and provide the proper host and credentials for the server you are trying to connect to.


Is phpMyAdmin running on the same server where the mysql server process is running?


Did you configure your phpMyAdmin?  http://docs.phpmyadm...ection-settings

In Topic: I made a website with Laravel 5.0 and a bunch of other technologies over a we...

30 June 2015 - 09:06 PM

You took a clean simple idea and delivered a solid working system in a short time frame.  The end result is well thought out.


This project demonstrates that you are a very flexible developer with a lot of domain knowledge in a number of hot areas, from PaaS to clouds api usage, to git, to Devops, to the Laravel framework and it's ecosystem, etc etc.  It's a nice portfolio piece, and something you can continue to tweak and work on in your spare time.


We could quibble with individual decisions you made, but that's true of every system I've ever been involved with.  


Logical extensions?


Your sharing/social bar could be more effective.


The UI could be a little prettier.  


Add a Rest API, and create some mobile apps.


Allow people to comment.


Add a mail list subscription feature and email out a "picture of the day" with ad.



Really there are a lot of things you can do with this to add to it that will allow you to keep experimenting.  If more people took the approach you have, there would be a lot more competent developers in the world.

In Topic: Empty $_POST on form submission?

17 June 2015 - 08:38 AM

In the future, the fact that you were doing this as a wordpress customization would have been good to know.