I think it depends on the language you are using. There are really no good ruby/rails IDE's and Rubymine has a ton of features, so personally I think it's worth the money. However, for PHP, i would say you're fine with one of the free ones.
I've used three of the jetbrains IDE's: PHPStorm, Rubymine and Webstorm. I guess I would say that these IDE's are more specific to the language you are using. I only used PHPStorm briefly, but Rubymine for example, has amazing support for rails out of the box. It seems like Netbeans or Eclipse are more "general" IDE's that you can configure to your language preference. Where the Jetbrains ones are the other way.. specific to a language but can be set up to use generally for any. Just my two cents.
I stated that in my comment, but yeah and I think this is a fantastic change. That was just one example i had of "architectural weirdness". We are still slow to adopt at work though :(
I agree, i'm also a big symfony fan. My biggest gripe with it is some of the architecture choices. The bundle system is meh. Even in the newish best practices doc they suggest only using one bundle per project. Coming from CodeIgniter and then Rails as my goto frameworks, I always enjoyed the simplicity of having all your controllers in an app/controllers folder for example.
Regardless, once you get used to it's choices (which I would attribute to the learning curve), it's a great framework that can pretty much do anything you want. I use it for anything i do php related.
This is the reason i never got into zend as much as laravel and rails. I learn much better through videos than written tutorials. There is something about being able to retrace every step in an example. How many times do you do a tutorial and something goes wrong and you have no idea why?
Just a sidenote but for anyone that's into Angular.js: egghead.io has some great screencasts.
Pretty much every pizza place i've seen has some sort of red theme or accent. I don't think they sat around one day and said "you know, red causes appetite, we should brand ourselves after this notion."
I think they were like "pizza looks red.. we're a pizza place. boom"
This looks good, but I have a question that's been driving me crazy. When i first looked into writing my own frameworks and looking at other people's code.. I was confused on when to use static methods. I heard that generally, unless its class level or has no need to be instantiated (like a logger?), there is no need to use static methods because of PHP5 autoloading.
But when I see well coded frameworks like this, kohana, etc.. they all seem to really leverage static methods all over the place. Are frameworks just heavy on class level methods, hence why I see them used so much?
Any help on understanding this would be much appreciated.
i was the guy that learned to make web pages by editing the site live...
Then i learned about MAMP...
Then I learned a few more programming languages and frameworks...
Then i learned about the awesomeness of IDE's, Vim, emacs...
Then i learned about git.
I was not classically trained, i just enjoy knowing my craft the best I can and find it interesting to learn new things. I notice that in web development, learning one thing will spawn a list of 5 other things you might not know about.
just IMO, there are many paths that take you to many different points in your career. I don't think a degree or classical training changes any of that.
Interesting, i'll have to look at the docs on the php5 autoload function closely. Sounds like i'm throwing in PHP4 with PHP5.
So for my controllers, to render a view I can just make a method within my abstract controller class and exclude a loader class altogether? (providing i can come up with an efficient use of the autoload function)
What would be an example of an HMVC? My framework is primarly just to learn some more advanced concepts, but i would say codeigniter, zend and cake would be the influences (as they are the framework i'm most familiar with)
Singletons have always confused me. Not on the actual code or what's going on, but on when or where to use the pattern (I don't come from a C/Java background).
For example, i noticed that CodeIgniter is basically one huge singleton. Since everything you do based from the CI super class, there is no need to ever have it instantiated twice since everything you'll use is a sub class of it.
Am I correct on this (as far as that's what CI is doing)? What if you have something like a router class, that it will never be necessary to have it instantiated more than once? In PHP, is there a design pattern you should use, or just make sure you never create more than one?
it really depends on the client. I have clients that don't want to read case studies.. they just need a designer and want to see if I can make good looking web sites or not. I agree that high profile clients are going to want this exemplified, but as I said above I rarely include links to the website unless I still maintain them, and I have never had a problem getting clients. IMO.
I think it depends on the language you are using. There are really no good ruby/rails IDE's and Rubymine has a ton of features, so personally I think it's worth the money. However, for PHP, i would say you're fine with one of the free ones.
I've used three of the jetbrains IDE's: PHPStorm, Rubymine and Webstorm. I guess I would say that these IDE's are more specific to the language you are using. I only used PHPStorm briefly, but Rubymine for example, has amazing support for rails out of the box. It seems like Netbeans or Eclipse are more "general" IDE's that you can configure to your language preference. Where the Jetbrains ones are the other way.. specific to a language but can be set up to use generally for any. Just my two cents.
i thought this was a harsh comment.. then i clicked the link. jesus.
I stated that in my comment, but yeah and I think this is a fantastic change. That was just one example i had of "architectural weirdness". We are still slow to adopt at work though :(
I agree, i'm also a big symfony fan. My biggest gripe with it is some of the architecture choices. The bundle system is meh. Even in the newish best practices doc they suggest only using one bundle per project. Coming from CodeIgniter and then Rails as my goto frameworks, I always enjoyed the simplicity of having all your controllers in an app/controllers folder for example.
Regardless, once you get used to it's choices (which I would attribute to the learning curve), it's a great framework that can pretty much do anything you want. I use it for anything i do php related.
well.. shit.
You must be new to the internet. Welcome.
This is the reason i never got into zend as much as laravel and rails. I learn much better through videos than written tutorials. There is something about being able to retrace every step in an example. How many times do you do a tutorial and something goes wrong and you have no idea why?
Just a sidenote but for anyone that's into Angular.js: egghead.io has some great screencasts.
agency worker here. I can confirm that this is correct and we all want to die.
I would also like to hear more of a discussion on this point
http://net.tutsplus.com/tutorials/php/why-you-should-be-using-phps-pdo-for-database-access/
Security, portability, better features
thanks!
Is there a way to find these channels or is it just something you stumble upon? I only know #php, #web and #javascript.
Also, why is #php locked? How do you get invites to that room?
I never was an IRC guy but I hear there are some really great rooms for web dev.
Pretty much every pizza place i've seen has some sort of red theme or accent. I don't think they sat around one day and said "you know, red causes appetite, we should brand ourselves after this notion."
I think they were like "pizza looks red.. we're a pizza place. boom"
This looks good, but I have a question that's been driving me crazy. When i first looked into writing my own frameworks and looking at other people's code.. I was confused on when to use static methods. I heard that generally, unless its class level or has no need to be instantiated (like a logger?), there is no need to use static methods because of PHP5 autoloading.
But when I see well coded frameworks like this, kohana, etc.. they all seem to really leverage static methods all over the place. Are frameworks just heavy on class level methods, hence why I see them used so much?
Any help on understanding this would be much appreciated.
Just use a sprite for the button image and css for the text. will work in every browser.
Or you could get crafty and use something like modernizer with an image fallback.
i was the guy that learned to make web pages by editing the site live...
Then i learned about MAMP...
Then I learned a few more programming languages and frameworks...
Then i learned about the awesomeness of IDE's, Vim, emacs...
Then i learned about git.
I was not classically trained, i just enjoy knowing my craft the best I can and find it interesting to learn new things. I notice that in web development, learning one thing will spawn a list of 5 other things you might not know about.
just IMO, there are many paths that take you to many different points in your career. I don't think a degree or classical training changes any of that.
There are a few other magic methods in PHP that are useful. Check out the docs on them here:
http://php.net/manual/en/language.oop5.magic.php
This is a far more elegant solution to what I had. Thank you.
Agreed, can't believe i didn't think of it
Interesting, i'll have to look at the docs on the php5 autoload function closely. Sounds like i'm throwing in PHP4 with PHP5.
So for my controllers, to render a view I can just make a method within my abstract controller class and exclude a loader class altogether? (providing i can come up with an efficient use of the autoload function)
What would be an example of an HMVC? My framework is primarly just to learn some more advanced concepts, but i would say codeigniter, zend and cake would be the influences (as they are the framework i'm most familiar with)
Singletons have always confused me. Not on the actual code or what's going on, but on when or where to use the pattern (I don't come from a C/Java background).
For example, i noticed that CodeIgniter is basically one huge singleton. Since everything you do based from the CI super class, there is no need to ever have it instantiated twice since everything you'll use is a sub class of it.
Am I correct on this (as far as that's what CI is doing)? What if you have something like a router class, that it will never be necessary to have it instantiated more than once? In PHP, is there a design pattern you should use, or just make sure you never create more than one?
Thanks for the help.
I heard codeigniter development has slowed and kohana was to take it's place? I could be wrong on that.
it really depends on the client. I have clients that don't want to read case studies.. they just need a designer and want to see if I can make good looking web sites or not. I agree that high profile clients are going to want this exemplified, but as I said above I rarely include links to the website unless I still maintain them, and I have never had a problem getting clients. IMO.
touche