(1) I have respect for people who can put a project together and get revenue flowing through it. (2) This technology stack sucks. (3) That your technology stack sucks does not mean you suck. (4) Maslow's Four Stages of Competence starts with Unconscious Incompetence. You don't even know you are unskilled. ( http://en.wikipedia.org/wiki/Four_stages_of_competence ) (5) This isn't a popularity contest. ( http://www.ribb…
Why must you laugh at my back end?
91–100 of 230 posts
Re: Why must you laugh at my back end?
#92This is great. Seriously. I cut my teeth in the early 2000s writing the type of PHP code that would make your eyes bleed. Global variables everywhere. HTML/PHP/MySQL in the same file. Career-wise I ended up going down a backend/database developer path, so if I do anything with consumer-facing web applications, it's on my free time. I'm working on such an app now, and right now the fastest way I can get anything done…
As a note, I would recommend Kohana (http://kohanaframework.org/) over CodeIgniter, but if you're pushed for time, you don't want to deal with a sparsely-documented framework ;)
Re: Why must you laugh at my back end?
#93Re: Why must you laugh at my back end?
#94This is great. Seriously. I cut my teeth in the early 2000s writing the type of PHP code that would make your eyes bleed. Global variables everywhere. HTML/PHP/MySQL in the same file. Career-wise I ended up going down a backend/database developer path, so if I do anything with consumer-facing web applications, it's on my free time. I'm working on such an app now, and right now the fastest way I can get anything done…
Re: Why must you laugh at my back end?
#95This is great. Seriously. I cut my teeth in the early 2000s writing the type of PHP code that would make your eyes bleed. Global variables everywhere. HTML/PHP/MySQL in the same file. Career-wise I ended up going down a backend/database developer path, so if I do anything with consumer-facing web applications, it's on my free time. I'm working on such an app now, and right now the fastest way I can get anything done…
Re: Why must you laugh at my back end?
#96Earlier quoted context omitted.
Paraphrased: > Some people write crappy code in CFML. Yes. But people write crappy code in [your preferred language] too. There's nothing inherent in CFML that forces people to write bad or hard-to-understand code. > OMG can you believe some people still use TABLES??? view source
I stand by my comment. A few things to note. > Some people write crappy code in CFML. Yes. But people write crappy code in [your preferred language] too. No, I said CFML code is universally hard to understand. Even more so for people already familiar with more popular languages. > OMG can you believe some people still use TABLES??? view source. That example was given to make a point about dated skill sets. I didn't i…
If you don't like tag based language, you can use pure scripting in CFML pages. Also, nothing in CFML requires or even leads ANYONE to use table based layout. I don't know where you got that idea from.
When i first looked at CFML I had distaste for what i saw. The problem is, what i saw was other peoples bad code. Once i really dove in and started writing CFML myself, i found it is like any other language in that, you can write beautiful, clean, easy to understand and modify code.
CFML has a LOT of things built into it that make db backed web development VERY nice, including:
Db queries and transactions as a first class language member. Pdf generation, ftp access, email sending, graphing, ALL are first class language features, not to mention native use of java libraries.
Don't get me wrong, i see the value in frameworks like ROR. I just think CFML gets a bad rep when it does not deserve it.
Re: Why must you laugh at my back end?
#97The only piece that made me cringe was CFML. I promise that a better life awaits you if you have the courage to break free.
Cringing aint so different than laughing ;) I work in 7-8 languages, was just wondering referring to my post: - What was your experience with CFML that made you cringe - Is it possible the same can happen in any language - What is better, in what way? Always looking to use better tools if they really get more done with less effort :)
My primary complaints were (as everyone) the verbosity - I've never seen a more verbose templating system, which led people to copy and paste all around. While there were some CFCs, those were mostly for tying to java backend. All this could happen in ASP, for example, but CF seemed to make it painful to do the right thing.
Of course it could happen in other languages, but my experience let me to cringe whenever CF was mentioned.
The OP used Microsoft already, so I'd look along those lines for him, even though my professional life is in java (95% javascript/HTML application with minimal templating from JSP)and my current weekend project is in rails. Razor looks like a nifty templating engine in ASP.NET MVC, for example.
Re: Why must you laugh at my back end?
#98This is great. Seriously. I cut my teeth in the early 2000s writing the type of PHP code that would make your eyes bleed. Global variables everywhere. HTML/PHP/MySQL in the same file. Career-wise I ended up going down a backend/database developer path, so if I do anything with consumer-facing web applications, it's on my free time. I'm working on such an app now, and right now the fastest way I can get anything done…
That's not a bad strategy. I also believe in "Just get it out and done ASAP and brush it up like heck afterwards". Worry about injection attacks, efficiency issues, scaling after you gain some traction. You can always rewrite later when it becomes an issue.
If you're only worrying about injection attacks "...after you gain some traction" or "...when it becomes an issue" you're already too late, and I don't ever want to trust any of my private data with you, ever. This is the 21st century. Scrubbing and validating user input is _trivial_ now, framework or no.
Please, please, please, everyone who reads this, spend a day reading the OWASP guidelines, and _use_ their sample code. This isn't difficult, and it makes your applications a million times more secure _on_ _day_ _one_.
Re: Why must you laugh at my back end?
#99This is great. Seriously. I cut my teeth in the early 2000s writing the type of PHP code that would make your eyes bleed. Global variables everywhere. HTML/PHP/MySQL in the same file. Career-wise I ended up going down a backend/database developer path, so if I do anything with consumer-facing web applications, it's on my free time. I'm working on such an app now, and right now the fastest way I can get anything done…
That's not a bad strategy. I also believe in "Just get it out and done ASAP and brush it up like heck afterwards". Worry about injection attacks, efficiency issues, scaling after you gain some traction. You can always rewrite later when it becomes an issue.
Re: Why must you laugh at my back end?
#100Earlier quoted context omitted.
Well damn, you're right. Looks like they were Hacker News'd. Fortunately Xeround's database servers are still up, but this is a bit disconcerting.
I wanted to give them a try but if a scalable database company can't handle HN traffic, it makes me think twice.