Challenges - repositories

  • Rabid Dog
  • Web Master
  • Web Master
  • User avatar
  • Joined: May 21, 2004
  • Posts: 3229
  • Loc: South Africa
  • Status: Offline

Post August 10th, 2004, 4:08 am

Has Ozzu ever thought about having a coding challenge and starting a repository for components that Ozzu members could build?

This would stop us from having to rumage through piles of code looking for a piece we wrote seven million years ago to hack to pieces and hand down to the needy.

just a thought
Watch me grow
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post August 10th, 2004, 4:08 am

  • Freakyp
  • Graduate
  • Graduate
  • User avatar
  • Joined: Apr 12, 2004
  • Posts: 210
  • Loc: M'boro. TN, USA
  • Status: Offline

Post August 11th, 2004, 3:07 pm

what kind of coding? C\C++\php\asm :?:
  • Rabid Dog
  • Web Master
  • Web Master
  • User avatar
  • Joined: May 21, 2004
  • Posts: 3229
  • Loc: South Africa
  • Status: Offline

Post August 11th, 2004, 11:26 pm

Well effectively anything.

I mean it has to be web-based or a web solution (considering that this is a web master forum) and platform independant
Watch me grow
  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Mar 24, 2004
  • Posts: 1855
  • Loc: Uk
  • Status: Offline

Post August 12th, 2004, 1:06 am

Are you talking about a collection of generic function for people to use? Like little libraries of non-specific functions, that people can use to build their own scripts with. Because that would be quite handy. I've been writing some useful regex-based PHP functions ("strip multiple whitespace characters" and "get the contents of a specific tag type", stuff like that), that I wouldn't mind sharing, for the greater good.
CSS website design tutorials
  • Rabid Dog
  • Web Master
  • Web Master
  • User avatar
  • Joined: May 21, 2004
  • Posts: 3229
  • Loc: South Africa
  • Status: Offline

Post August 12th, 2004, 1:10 am

Classes, generic functions, all sorts of things. You know - the little functions we build to make life easier for ourselves while developing a project and then finding out it can be used acriss multiple projects.

Would be great to build up a library here. Then we don't need to dig through our hard drives looking for code we did years ago, we could just direct the user to the library.

Could even split it across the different languages. PHP, JS (that tree you built was nifty), C++, C etc
Watch me grow
  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Mar 24, 2004
  • Posts: 1855
  • Loc: Uk
  • Status: Offline

Post August 18th, 2004, 3:37 am

RD, what were you saying about posts in the suggestions not getting much interest ;)

Anyway, linked in with the original thread, how does the following sound:

We make the most rock solid, generic, extensible, totally reusable form validation system on the planet?

IE, use OOP to define the properties of all of our form elements, what they are called, max/min lengths, required or not, data type/format validation using regular expressions.

For each form we create a config file, that passes all the form data to the main server-side script, which generates the html for the form. When the form is submitted, we use the validation rules to run it through generic functions for validation.

Finally, when we generate the html, we also generate the appriopriate Javascript validation functions to validate it as well. As JS uses the same regex syntax as PHP that should work quite nicely. The JS there of course to reduce server load by preventing multiple form submit when dumbass users get it wrong, and to speed up the process for said users.

You asked for a challenge, and it looks quite challenging to me. It will also mean no more form validation writing, we just add new regex for new datatypes. It'll also spank the pants off most existing form validation systems out there.

Your thoughts?
CSS website design tutorials
  • Rabid Dog
  • Web Master
  • Web Master
  • User avatar
  • Joined: May 21, 2004
  • Posts: 3229
  • Loc: South Africa
  • Status: Offline

Post August 18th, 2004, 10:58 pm

Well now we are talking. Sounds great! When do we start?

Communication is another thing. Will we be doing it through the programming forum, PM or should we request a new forum?

Would be nice if everyone got the chance to get involved.

Okay so I am busy working on a basic object model (diagram). Once you reply to this I will contact you via the neccessary means and let you know where it is. Then you can have a look at it, say yes or no, makes changes and we can start the development
Watch me grow
  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Mar 24, 2004
  • Posts: 1855
  • Loc: Uk
  • Status: Offline

Post August 19th, 2004, 4:26 am

Rabid Dog wrote:
Well now we are talking. Sounds great! When do we start?
Don't know, not yet though lol, I don't have the time until early september TBH.

Quote:
Communication is another thing. Will we be doing it through the programming forum, PM or should we request a new forum?

Would be nice if everyone got the chance to get involved.
Indeed it would, I guess there is no problem with the programming forum. I doubt there is any chance of us getting a "collaborations/projects forum" set up though....

Quote:
Okay so I am busy working on a basic object model (diagram). Once you reply to this I will contact you via the neccessary means and let you know where it is. Then you can have a look at it, say yes or no, makes changes and we can start the development

Well post it here or PM me, I'll take a look and will probably be able to understand it, but bear in mind I havn't done any OOP before. The whole point I suggested it for this is that it seems to be a perfect candidate to learn from and it would be nice to work with a more experienced programmer on some stuff.
CSS website design tutorials
  • Rabid Dog
  • Web Master
  • Web Master
  • User avatar
  • Joined: May 21, 2004
  • Posts: 3229
  • Loc: South Africa
  • Status: Offline

Post August 19th, 2004, 4:33 am

Will PM you the URI for the location of the diagram.

I wouldn't say I am super experienced though, just get around and it is what I do for a living.

Did you ever get a chance to look at the proxy killer?
Watch me grow
  • Rabid Dog
  • Web Master
  • Web Master
  • User avatar
  • Joined: May 21, 2004
  • Posts: 3229
  • Loc: South Africa
  • Status: Offline

Post May 24th, 2005, 2:59 am

I realise this is a bit old but I wanted to bring it up again (that didn't sound good) as there has been no response from the mod team.

Thanks
Watch me grow
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post May 24th, 2005, 11:34 am

Thanks for the reminder. I know I had forgotten about it. Not sure what will happen with it, but it's a good idea, I think.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • Rabid Dog
  • Web Master
  • Web Master
  • User avatar
  • Joined: May 21, 2004
  • Posts: 3229
  • Loc: South Africa
  • Status: Offline

Post May 24th, 2005, 11:06 pm

ATNO/TW wrote:
Thanks for the reminder. I know I had forgotten about it. Not sure what will happen with it, but it's a good idea, I think.


If Ozzu doesn't want to added it then maybe we could discuss some form of partenership where the code will be stored and presented on one of my domains with Ozzu users able to add their bits and pieces.

Obviously this wouldn't be the best idea as users would have to reregister for this domain
Watch me grow
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 8926
  • Loc: Seattle, WA & Phoenix, AZ
  • Status: Offline

Post May 25th, 2005, 1:51 am

If we were to implement something like that what method do you think would be sufficient to organize the code? A directory type style where users could submit code to specific categories? Do you have a specific script in mind to organize all this? Suggestions would be welcome.
Ozzu Hosting - Want your website on a fast server like Ozzu?
  • Rabid Dog
  • Web Master
  • Web Master
  • User avatar
  • Joined: May 21, 2004
  • Posts: 3229
  • Loc: South Africa
  • Status: Offline

Post May 25th, 2005, 2:19 am

Well, yes, something similiar to that. But the users should have the ability to create directories. Maybe another idea (just to keep things clean) would be to appoint two or three new mods that could keep an eye on the programming forum and decide which pieces of code are suitable for such a repositor so you don't end up with reams of useless or duplicated code.

I don't have a script in mind but I would be willing to write one in accordance to the specs you recommend or I could come up with some sort of spec and confir with you and other designated mods to tweak etc.

Thinking about it out loud now it would have to be a carefully managed area of the site so I would scrap the users ability to add code as they please.

If you don't want to take it to far from the ozzu theme you could always create another forum (say Code Repository) and under this provide topics similiar to directories with the code posted inside the topics.

What I am seeing is not full blow web apps but components, bits and pieces of code that people can be refered to. Things like, oh I don't know, silly example -> a database connection routine or class, or a class that uploads files or functions that strip HTML tags or prevent SQL injections from succeeding. If some one has a web app they have written then maybe get them to submit it for proofing before releasing it o the ozzu mass.

Then the mods of the programming forum can keep a close eye on the code being posted and if they recon that the code could be useful they can take it and place it in the repository. They might also get an idea from a piece of code, mod it to be re-usable and then post it in the repository. I would be more than willing to donate code and I am sure there are other valued members of the forum that would be keen to do so as well.

The problem I find at the moment with the prog forum is that things get buried very quickly (which is a good thing because it means users are making alot of posts but a bad thing because it makes it extremely difficult to find old pieces of code).

So in a nut shell I recon it should be a moderator only place to post but users can access the posts to retrieve the code. Mods decide which code is good enough. Then when a user asks for a function that will write his DB to file you can go "Yeah check out the code repository under DB back ups". (silly example). You might also want to set up a Poll so people can vote on the code if they feel like it.

I hope this makes sense and I thank you for taking the time to entertain the idea
Watch me grow
  • UniquelyYoursPC
  • Web Master
  • Web Master
  • User avatar
  • Joined: Jan 22, 2003
  • Posts: 2998
  • Loc: Canada "A"
  • Status: Offline

Post May 26th, 2005, 7:07 pm

can there be a full script part on this too and people could upload there full scripts
Custom Built Computers & The Top Quality Hardware Money Can Buy
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post May 26th, 2005, 7:07 pm

Post Information

  • Total Posts in this topic: 17 posts
  • Users browsing this forum: No registered users and 29 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.