I'm not sure how you'll go about implementing that custom scroll bar. Subclassing won't do it, as far as I know.
The "500 comments, Share, Save, Hide, Report" icons are way too small. The fingers I would use to type are too fat to use these in a suitable manner.
I would make this a swipe gesture that brings up a UIActionSheet or adds a new row under the cell with larger options.
The 'Messages (2)' icon won't allow for double, triple digits very easily without some real customization. Native UITabBarControllers support badges that make it easy.. custom tabs are a pain to create badges with.
Use memcached as a caching layer around your database query.
The concept is pretty easy.. when you get results serialize them and save them to memcache (for 1 hour/1 day, depending on how often you expect your data to change).
You query memcached before you query MySQL. If memcached returns results from memory - unserialize them and return these results.
If memcached has no record.. then query the database (and save to memcache)
You can also install and configure Sphinx which is a very fast fulltext search.
You setup your indexes (tell it to rebuild the 'items' table every hour) via a cron job.. and rather than query the database you get your speedy results from Sphinx's fulltext engine.
These are a few options on speeding up the server side. Follow everyone elses instructions for the client-side optimisation. Reset the timer onkeyup. Making a HTTP request for every keystroke is a real bitch.
(PS. Someone may want to correct me about using BOTH Sphinx and Memcached... it may be best to use just one or the other).
Listen to motivational music and daydream of how successful the website will inevitably be.
Also, look at competitors websites and make yourself so jealously angry and frustrated that you fire up your editor and code like a boss in order to destroy them.
What is Inventor and where do I get it?
What the devil is this
puke
Make the header, subheader UI less tall.
I'm not sure how you'll go about implementing that custom scroll bar. Subclassing won't do it, as far as I know.
The "500 comments, Share, Save, Hide, Report" icons are way too small. The fingers I would use to type are too fat to use these in a suitable manner. I would make this a swipe gesture that brings up a UIActionSheet or adds a new row under the cell with larger options.
The 'Messages (2)' icon won't allow for double, triple digits very easily without some real customization. Native UITabBarControllers support badges that make it easy.. custom tabs are a pain to create badges with.
Cells can have less padding.
I read 'poem' as 'porn'.
Damn internet.
Use memcached as a caching layer around your database query. The concept is pretty easy.. when you get results serialize them and save them to memcache (for 1 hour/1 day, depending on how often you expect your data to change).
You query memcached before you query MySQL. If memcached returns results from memory - unserialize them and return these results.
If memcached has no record.. then query the database (and save to memcache)
You can also install and configure Sphinx which is a very fast fulltext search.
You setup your indexes (tell it to rebuild the 'items' table every hour) via a cron job.. and rather than query the database you get your speedy results from Sphinx's fulltext engine.
These are a few options on speeding up the server side. Follow everyone elses instructions for the client-side optimisation. Reset the timer onkeyup. Making a HTTP request for every keystroke is a real bitch.
(PS. Someone may want to correct me about using BOTH Sphinx and Memcached... it may be best to use just one or the other).
Expo needs a subreddit
Write down the absolute next tasks for each project.
This will clear things up
Ahh nice. I can see how it would work well with recursion.
Thanks for that :)
I've read quite a bit about anonymous functions in javascript, and I've just read this article.
I'm still unsure how I might benefit from these within my applications though.
I do use an anonymous function in javascript when executing various bookmarklet scripts... but with PHP...
I'm a PHP and so can you!
You're right. A user could alter the value of my hidden input and without some decent server-side permission checks this could be exploited.
Thanks for the tips :)
I use it sometimes when building forms that take GET variables via /?id=23 which also submit via POST (and a hidden input name="id" value="23").
For me:
Very good resource.
Listen to motivational music and daydream of how successful the website will inevitably be.
Also, look at competitors websites and make yourself so jealously angry and frustrated that you fire up your editor and code like a boss in order to destroy them.
Thanks dude!
How do you pass a value to that anonymous function? I see it takes the parameter $x
like that? and $f can be reused with other values?
That's a lambda, am I right?
I've used functionality like that (anonymous functions) in javascript. Good to see it in PHP :)
Oh and here's the article in english: http://php.net/manual/en/pdo.prepared-statements.php
I've heard a lot of buzz around PDO. It's about time I gave it a go.
As for prepared statements... thanks for the article :)
... feature
Yep. If it's a permissions problem then your webhost should be able to chmod/chown the necessary directories so they have write permissions.
It could always be a bug with the panel, in which case the creator can help
Yep. The panel could be broken.
If the file isn't overwriting the original I assume there is some sort of permissions issue.
OP should contact his webhost.
Sounds cool to me. thanks for sharing!
End of this list.
Back to top