feyd's DNA

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

feyd's DNA

Post by alex.barylski »

You probably think I'm kind of creepy. :D

No worries, if you uninformed, I don't mean his dioxyribonucleaic acid...but rather the DevNetwork (Application|Architecture???) framework he has on Google code.

The synopsis sounds like a framework but all I have found his Sha256 class... :(

Anyone (maybe even feyd himself?) know of the where abouts of the whole shebang? I'm poking through every framework known to the PHP man and extracting ideas whenever I can find them. Much easier than digging through whole applications as there is seldomly HTML or scattered SQL, etc.

Cheers :)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I've been trying to push through the writing of a baseline of code before I make a first submission.

Since my time is random at best for writing code, it may be a while. However, if I'm not doing anything big over the winter break at school I'll be writing a ton during it. :)

If you want conceptual information, I'll happily share it beforehand.
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

If you want conceptual information, I'll happily share it beforehand.
I'd like it too =)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Fire questions, if you like. :)
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

feyd wrote:I've been trying to push through the writing of a baseline of code before I make a first submission.

Since my time is random at best for writing code, it may be a while. However, if I'm not doing anything big over the winter break at school I'll be writing a ton during it. :)

If you want conceptual information, I'll happily share it beforehand.
Well I figured, that seeing how most of us on here have at least one itching sensation from using Zend, that perhaps another framework was in order. One which evoloves from a communities input.

I would suggest posting what you have hitherto and letting others poke at it and give suggestions, etc???

I'm always interested in seeing how others implement model 2 architectures in PHP. Particularlly the front controller and it's components.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Right now the baseline I have is the most basic of code. Roughly, I'm still building all the utility classes that will be used throughout.

The majority of time right now is roughly spent porting classes from Java as the underlying base I'll build everything else on. Obviously a lot of stuff needs adjusting as PHP doesn't support Generics/Templates. Once a fair group of the java.lang and java.util libraries are ported the real work will begin.

The directed goal right now is in building a replacement to our forums, news and various other components of the network here, unifying everything. The plan is for a highly pluggable, very compartmentalized structure.

Similar to how Half-life was originally designed, the added stuff for applications are modules that sit on top of the framework. Currently I have modules sketches for Articles (Wiki-ish), Attachments, Bug (reporting), Discuss (forum), Jobs (listings), News, Poll, Project (hosting), and Prune (automated "deletion".) Everything will be routed through permissions via access control list style setups. All third-party tools will have an adapter written to encapsulate them so those libraries may change, but the framework's code doesn't need adjustment beyond fixing the adapter.

I can't attest to the speed it will run at, so things may shift greatly to help optimize execution speeds a bit, but that's down the road after I've begun releasing code. However this beast is intended to run on PHP 5+ only. I do not plan on making a version available for PHP 4.
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

Once a fair group of the java.lang and java.util libraries are ported the real work will begin.
So it will be based on some Java framework?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Weirdan wrote:So it will be based on some Java framework?
The underlying, close-to-the-core structure will be based on it in concept. But that's probably where the similarity will end. Honestly, I like the overall naming scheme, general layout, and structure of Java. It reminds me of the STL for C++.

Some of the major concepts like hashCode() will likely be seen in DNA. It'll likely be an MD5 (or basic checksum value) of the property states in the object.

The overall goal is highly object oriented code. Since that is the same goal of Java, it felt like a logical place to base many things. However I'm doing a few things of my own thoughts on the systems. Since I'm not sure how they will pan out I don't want to talk in too much detail about them until I've got enough to test them out in a larger environment.
Post Reply