Skip to content

u/mrPitPat

In this archive from Aug 2010 to Jul 2015

3
posts
47
comments
0
media
168
score

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.

3 points

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.

1 points

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.

2 points

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.

1 points

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"

2 points

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.

1 points

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.

1 points

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)

3 points

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.

1 points

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.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.