Jakarta jmeter is an awesome tool. I deeply encourage to experiment with it. If you want to see more details on how it is implemented or write your extension it may be worth compiling it from sources on your machine.
Here is a quick guide how to setup a eclipse project and what to do to build jmeter from sources and run it locally.
Lets make something clear from the very start: JUST BECAUSE THERE IS https:// IN THE URL OF THE REMOTE SERVICE IT DOES NOT MEAN THE CONNECTION IS SECURE!
I am sorry for the tone of this post but i am enraged by how popular this issue is online. If you ask why i suggest a little experiment.
Steps to follow
- Change your host file settings to point something like www.somedomain.com to your development server
- Create a self signed certificate for this domain and setup a https virtual host to serve it on local IP or alias
- Put a test file on that URL
I guess most of people have heard of address space randomization and linux kernel patches that provide that. PAX is a project that has been running for years and it is an awesome way to reduce risk of buffer overflow attacks on your linux server. The great thing about it is that it makes it harder to execute most common buffer overflows system-wide.
I know it is not really anything special in our times to have mobile skin of your blog or website but it is still a nice thing to have. I am sure that there are tons of ready to use plugins for the software that i am using but i wanted to play around a bit myself and learn some new library. My blog is my little sandbox any way so i prefer to learn on it and make mistakes here than in real work.
I have been thinking a bit recently how to manage dependencies and how to structure Zend Framework based applications to make the code less coupled, more testable and less dependent on the global scope.
I don't mean to be negative but I am not too happy about the web application structure that most articles and books present. In Zend Framework world controller seems to be the place when things get done. Controller is the workhorse and this is where all the logic seems to be buried. It also seems to me that model in MVC is reduced to database integration but there is no services layer for some reason. Where ever you look you will see the same examples with controller doing all the work and models being simple Zend_Db_Table or Zend_Db_Table_Row instances. You will not see business logic focused classes, Controller or DB Model, thats all you can choose from.
I think it is not a really bad book as it provides quite a good introduction to Zend Framework. Especially with a lack of any good Zend Framework literature i guess it may be still worth to read it.
I would not recommend it to people who work with Zend Framework already. You will probably not find a lot of new information in it. If you are starting your journey with Zend Framework or with MVC in general i guess you may benefit from the book quite a lot.
Book also provides some nice foundation for the CMS design. So if you decided that Drupal is not good enough and you want to spend months writing your own CMS then you may want to check out this book :)
I saw a post recently and it got me thinking, should constructor of a child class follow the signature of its parent? My gut feeling was telling me it should not really matter. Constructor is not part of the Interface nor part of the public API that object exposes (not a class).
On the other hand i like the rule of least surprise and I like to have arguments in same order across the API (if it makes sense).
Author suggests that it is a good idea to use same arguments lists in exceptions derived from \Exception. I don't really think its a bad idea i am just wondering does it have anything to do with inheritance as the article suggests (i think the argumentation is not very accurate in this case).
Google APIs are one of the best that is not a secret but seems like Google Maps are even nicer and easier to use in the 3rd version. I just had a look on the APIs last Thursday night and noticed that a few things are even better than before. Let me show a simple example and a few easy features you can use to put a Google map on your website in a matter of an hour!
It is funny how often you can get caught by surprise that PHP is not Java. I have been using type hints in PHP for a long time but somehow i did not came across that for a long time.
If you have a method that type hints the parameter you wont be able to pass null in as in PHP null is not just unknown value but it is also a type.
It is a bit frustrating that i have to use mac and can not just use the same system that we have in production but well, that is the standard now. So to make the best of it you have to adapt and learn how to deal with operating system issues ;)
I found it a bit tricky to compile PHP extensions like PECL memcache or whatever on my mac for a few reasons. My mac comes with PHP 5.3 and i need to run my site on 5.2 that i got from MAMP. In addition i have 64 bit system that runs PHP in 32 bit mode so i have to tell compiler to use 32 bit mode only.
About the author
Hi, my name is Artur Ejsmont,
welcome to my blog. I am a passionate software engineer living in Sydney and working for Yahoo!
If you are into technology, you can order my book Web Scalability for Startup Engineers on Amazon. I would love to hear what are your thoughts so please feel free to drop me a line or leave a comment.