Core Questions: Inquiring Minds Want to Know

Permalink
Okay, so I finally got a break from snow shoveling and roof raking, and I've begun to take a look under the C5 hood, and I have some questions...

Why in the form block directory is there a view.css file that contains exactly the same styles appearing within the style element of view.php?

What is the purpose of the file named map_display.php.bak in the tools directory of the google_map block directory?

Why in the View class (/concrete/libraries/view.php) are there a bunch of public methods documented as private access?

I just want to make sure I understand what's going on before I delve even more deeply into things. Perhaps some of it is just cruft that didn't get purged from the distribution?

Thanks for any help or insights,

-Steve

Shotster
 
ScottC replied on at Permalink Reply
ScottC
you sound like you're trolling, and yes on an app that was totally closed source I feel like some trivial things like that could slip through the cracks? God forbid you find some commented out code? ;)

-Scott
Shotster replied on at Permalink Reply
Shotster
Not trolling at all, Scott - just want to make sure I understand what's going on instead of making assumptions. Yes, it's perfectly understandable that stuff can slip through, but I like to build my knowledge on a solid foundation. It's quite obvious that commented code is intentional, but for a newbie trying to understand the C5 underpinnings, I think my questions are perfectly valid and reasonable, and so I will continue to ask them - even if they elicit responses that aren't particularly helpful.

Pasta lasagna, don't get any onya...

-Steve
ScottC replied on at Permalink Reply
ScottC
sorry after re-reading that it does come across a bit harsh. I must have mistaken you for someone else.

I started coding php/js 13 months ago purely with concrete5 and php, the cms I found by its name :).

So yeah I think this is the system to work with if you enjoy creating sites for people and with a system that doesn't get in the way of you too much and keeps end user support minimal :).

I don't have enough of a coding background to comment on the quality of code, but it certainly gets the job done.
jordanlev replied on at Permalink Reply
jordanlev
Hi. I am relatively new to the C5 community as well, but I just wanted to put my 2 cents in that I didn't read the original question as trolling whatsoever -- it seemed like a pretty straightforward question and shows that someone is interested in understanding what's going on under the hood. I don't think it warrants such a defensive response, and in fact if the C5 community and userbase is to keep growing (as I think it should because it's an amazing system), such inquisitiveness should be encouraged.

So Shotster, I think the answer to your question is "those are just legacy things that we haven't gotten to cleaning up yet -- if you're interested in helping out with core development or have patches to submit, we're happy to have the help, just submit them here: ___" (although I don't know if that's true and I don't know where to submit them...)

-Jordan
Shotster replied on at Permalink Reply
Shotster
Thanks for the reply, Jordan.

FWIW, C5 seems well thought-out, flexible, and powerful; and I hope it will empower me to be more productive and creative in my web development. And who knows, perhaps I might even start to enjoy creating websites again.

I've already nearly committed to using it for one of the most ambitious projects I've undertaken. If I succeed, it might make for a good C5 case study. We'll see how it goes. And I may well have something to contribute to the C5 community in due time, but for now I'm experimenting with creating a custom block, and I'll likely have more questions along the way.

Regards,

-Steve