As for pabeblox, looks handy, but you _must_ implement dragable border instead of buttons.
Show HN: my weekend project, PageBlox
21–30 of 35 posts
Re: Show HN: my weekend project, PageBlox
#22I would enhance the UI and maybe add inline code editing for blocks in the next version.
Good luck.
Re: Show HN: my weekend project, PageBlox
#23Small nitpick: If you say you generate HTML5 markup, I think you should make use of the new HTML5 tags like , etc in the rendered file. Right now it looks like you are just changing the doctype? See how HTML5BoilerPlate uses the header & footer tags: https://github.com/h5bp/html5-boilerplate/blob/master/index.... It would also be nice it you can directly output a version of html that contains all the features from HT…
Re: Show HN: my weekend project, PageBlox
#24...a project that showcases my JavaScript skills. I am looking for consulting work so please contact me if you need a front-end designer/developer
Quick review of your JavaScript:
Your functions and variables are in a global namespace. That's not a good sign. Sure if you are absolutely sure this code will never run alongside existing code, that's okay. But if you are working with code from multiple places, that's perhaps not the wisest approach. I guess you have no long-term intentions of allowing third party plugins and modules?
You're being too-clever using commas effectively as statement separators (or maybe your JS compressor is), and boolean operators instead of if statements. Shows off that you know how to flex JavaScript, but probably concerns whether you'd be a good fit into an existing team of developers.
I wonder if concatanating chunks of strings interspersed with variables is the best course of action. I'm tempted to suggest to collate the big strings together as static text with replaceable tokens (or perhaps bring in an existing templating language like mustache).
I worry about being used to clear floats. I'm surprised that blueprint forced you into that.
jQuery constructs like: $(a).parent().parent().attr("id") and $(a).parent().parent().prev are brittle, they assume/enforce a particular markup. Which means if you need that extra wrapper div, now you need to update each of those constructs.
Re: Show HN: my weekend project, PageBlox
#25Make a version of this for twitter bootstrap and you will have reached an incredible amount of win.
Re: Show HN: my weekend project, PageBlox
#26Re: Show HN: my weekend project, PageBlox
#27...a project that showcases my JavaScript skills. I am looking for consulting work so please contact me if you need a front-end designer/developer
"a project that showcases my JavaScript skills" Quick review of your JavaScript: Your functions and variables are in a global namespace. That's not a good sign. Sure if you are absolutely sure this code will never run alongside existing code, that's okay. But if you are working with code from multiple places, that's perhaps not the wisest approach. I guess you have no long-term intentions of allowing third party plug…
Re: Show HN: my weekend project, PageBlox
#28Re: Show HN: my weekend project, PageBlox
#29Re: Show HN: my weekend project, PageBlox
#30@ctek - update your profile page if you are interested in making contacts here on HN. Cool project BTW!