Quantcast
Channel: Comments on: Building Your Own URL Shortener
Browsing all 42 articles
Browse latest View live

By: Alex Fraundorf

Skydiver, Thanks for reading and for the comment. Your solution would certainly work. The reason I didn’t use a process like that is because it would require a conversion every time a shortened URL is...

View Article


By: Alex Fraundorf

ELK, Thanks for reading. I did not even look into if an SQL base-number conversion function was available. I come from the school of thought that you should keep as much of your logic as possible,...

View Article


By: Alex Fraundorf

ELK, I am not an expert in SQL, but as shown in my 09/25/2012 comment, I had to have a column type of VARBINARY (BINARY would work as well) in order to have case sensitivity function properly. For...

View Article

By: Sky

Thx for sharing this nice bit of code Alex.

View Article

By: Alex Gervasio

Hey Alex, Maybe I getting a little bit late to the party, but I have to say I really enjoyed the article. Concise, clear and straight to the point, so great work indeed. Just as a humble contribution,...

View Article


By: Alex Fraundorf

Sky, Thank you for the feedback. I’m very glad that you enjoyed the article. Thanks for reading and happy PHPing!

View Article

By: Alex Fraundorf

Alex, Thank you very much for your feedback and point of view. As anyone who is a regular reader of this site knows, your advice should carry a lot of weight, and it does with me. I agree completely...

View Article

By: Alex Gervasio

Hey Alex, Thanks for the extensive reply indeed. About your question on static class members, the fact of declaring them static doesn’t mean that their values will remain constant at all. Static fields...

View Article


By: Alex Fraundorf

Alex, Thank you very much for the reply, the explanation and for correcting me on my mis-use of static properties. It certainly looks like class constants are the way to go for these types of values....

View Article


By: Alex Gervasio

Glad to hear that. Private, protected constants in upcoming PHP releases? Can’t wait to see it :)

View Article

By: netkili

i tried to do what u wrote above.but i could nt succed.i do not know where i made a mistake.but anyway really good to learn some new information.thanks.

View Article

By: Alex Fraundorf

Thanks for reading. Feel free to email me through my website (shown on my bio). I will do my best to help you figure out where you are having a problem. Happy PHPing!

View Article

By: help

can you add the access permission,only admin can use the shorturl!

View Article


By: Alex Fraundorf

We have not provided a working example of the shortener that is open to the public (for security reasons). You can download the source code from GitHub and install it on your own server. I hope that...

View Article

By: Chris

Hello, and thanks for the really nice article!! Even though i really want to praise your ( extra-ordinary ) ability to reply to all comments, i will cut to the point as i dont want to spare much more...

View Article


By: Alex Fraundorf

Hi Chris, Thank you for reading and for the compliment. I’m really glad that you enjoyed the article. That is a very interesting idea on using caching instead of the database. My own personal...

View Article

By: dave

Im liking this tutorial you have created i made my own url shortener its up and running at brig.co. Thanks

View Article


By: Alex Fraundorf

Dave, I’m glad that you enjoyed the tutorial. Congratulations on your completed URL shortener. Did you build it using this article as an example or did you take a different approach? Thank you for...

View Article

By: Rohit

hola ! alex i really like this short and sweet tut … can u now guide me to building its frontend (as to how to use these classes) ! as i am a noob in php i really dont know how to create a object in...

View Article

By: Alex Fraundorf

Rohit, I’m glad that you enjoyed the article. There is a very basic example of building a front end for the class (and creating its objects) on the github page for this project, but I will email you...

View Article
Browsing all 42 articles
Browse latest View live