SCU Coding Topic. All Web-Coders Discuss Here...
Goto page 1, 2  Next
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Samus.nl Forum Index :: The SCU 2006 Re-Design Board
View previous topic :: View next topic  
Author Message
Andrew Mills
** Man Of Action **


Joined: 25 Jul 2004
Posts: 2986
Location: Working my 100% cotton socks off

PostPosted: Mon Jan 02, 2006 5:21 pm    Post subject: SCU Coding Topic. All Web-Coders Discuss Here... Reply with quote

This topic is dedicated to solely discussing the issue of web-coding of the new design. Now, please note that I investigated the use of ASP scripting with the hosts, but I'd have to move to an MS hosting server and thus EVERYTHING would be wiped and would need to be re-uploaded manually. Which would be a total pain in the arse.

So I've decided to go with PHP for the re-design. If you feel that something else would be better, feel free to make suggestions. If you would like to submit some template designs you'd like to see use, feel free to post links to them. This topic is also for the in-depth discussion of peoples ideas from other topics on this board and their possible implimentation.

I will personally also start to learn to code in PHP myself, but my time is rather limited as it is just now, as I have a few VERRRY important things to work on as far as my job goes. So I will consider working with a team of coders to get the job done as well as possible. Please bear in mind that the coding team WILL have to work closely with the art team to ensure that it all fits together snugely...

I'm ONLY interested in team players here. Those who have high-almighty complexes or "I know better than you" attitudes ARE NOT WELCOME in this topic.
_________________
Andrew "The Original Womanizer" Mills,
[i:43512fb57a]Founder Samus.co.uk[/i:43512fb57a]
[img:43512fb57a]http://my.livecard.net/shinyb/samus+co%20uk.png[/img:43512fb57a]
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Destroyer F
Secret World Discoverer


Joined: 25 Jul 2004
Posts: 1255
Location: attacking GIANT CRAB for MASSIVE DAMAGE

PostPosted: Mon Jan 02, 2006 5:46 pm    Post subject: Re: SCU Coding Topic. All Web-Coders Discuss Here... Reply with quote

Andrew Mills wrote:
something else would be better, feel free to make suggestions. If you would like to submit some template designs you'd like to see use, feel free to post links to them.
Just to make some thins clear, 'template designs' has a double meaning in php.
What you mean (I think) is a photoshopped new design of SCU. But templates are also somethin else. For example, I use templates a the mp2d website. Templates are used to separate php code from html code. You have php code one file, the html code in another. That way, you can change something to the site without messing with the php code.
For example, thisis the template code f the mp2d index code:
Code:
{HEADER}
   <table width="100%" border="0" cellspacing="0">
      <tr>
         <td>
         </td>
         <td width="95%">

            <table class="index" cellspacing="0" cellpadding="0" class="main" width="100%">
               <tr>
                  <td height="110" colspan="3" class="bgrepeat" align="left"><img src="images/banner.jpg" width="760" height="110" alt="Main banner"></td>
               </tr>
               <tr>
                  <td width="120" valign="top" class="side">
                     <div class="section">Menu</div>
                     {MENU}

                  </td>
                  <td valign="top" align="center" valign="top" >
                     <div class="section">Home</div>
                     <table class="index"  cellspacing="0" cellpadding="2">
                  <!-- BEGIN INDEX -->
                        <tr>
                           <td class="index_title" height="20">{TITLE}
                           </td>
                        </tr>
                        <tr>
                           <td class="index_info" >{DATE}<br>
                           By {NAME}
                           </td>
                        </tr>
                        <tr>
                           <td class="index_text">{TEXT}<br>
                           </td>
                        </tr>
                        <tr>
                           <td class="index_space" height="10">
                           </td>
                        </tr>
                     
                  <!-- END INDEX -->
                     </table>
                  </td>
                  <td width="120" valign="top" class="side">
                     <div class="section">Affiliates</div>
                     {AFFILIATES}
                     <div class="section">Toplinks</div>
                     {TOPLINKS}
                     <div class="section">Progress</div>
                     {PROGRESS}                     
                  </td>
               </tr>
            </table>

         </td>
         <td>
         </td>
      </tr>
   </table>
{FOOTER}


The FOOTER, HEADER and other vars are changed in the php code.



Andrew, I strongly recomend you to work with that kind of templates. So you can change the design very easely, but you don't have to mess with the code, which is super handy when you redesign a site.
People who know very litte or nothing about php can work on the templates, and the php coders can work on the code.

Another advantage is that you have to write thing like the menu, headers, footers, affliates and other stuff only once. If you change something about them, php can automaticly sets them right on the other pages.


The only disadvantageis that yoursite will use some more bandwidth and will be slightly slower (in theory). Mp2d loads as fast as SCU so you ca forget the speed disadvantage.

Templates are complicated, but are very powerfull.
Have a thought about it.
_________________
It's Ridge Racer... RIIIIIIIIIDGE RAAAACEEERRRR
http://www.youtube.com/watch?v=pJElsNaC6yQ
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Andrew Mills
** Man Of Action **


Joined: 25 Jul 2004
Posts: 2986
Location: Working my 100% cotton socks off

PostPosted: Mon Jan 02, 2006 6:07 pm    Post subject: Reply with quote

Well, yea, that's what I meant. Also, people would be able to do one on their own server for example, and I can take a quick look at it "in action" as it where.

Obviously, I'd want it to be based on the "template shell" idea that you have (SCU does the same, but uses SSI to update a folder at a time, better than just HTML, worse than PHP), as it'd be a LOT quicker to make changes as need be without having to re-do every page.
_________________
Andrew "The Original Womanizer" Mills,
[i:43512fb57a]Founder Samus.co.uk[/i:43512fb57a]
[img:43512fb57a]http://my.livecard.net/shinyb/samus+co%20uk.png[/img:43512fb57a]
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Karlprof
Flying Pirate


Joined: 25 Jul 2004
Posts: 1292
Location: Messing about with C++.

PostPosted: Mon Jan 02, 2006 9:20 pm    Post subject: Reply with quote

Hi, Andy. I'm Karlprof. You talk to me sometimes. >_>; If you need PHP help, like, just MSN me.
_________________
Back to top
View user's profile Send private message
Andrew Mills
** Man Of Action **


Joined: 25 Jul 2004
Posts: 2986
Location: Working my 100% cotton socks off

PostPosted: Mon Jan 02, 2006 9:25 pm    Post subject: Reply with quote

Karlprof wrote:
Hi, Andy. I'm Karlprof. You talk to me sometimes. >_>; If you need PHP help, like, just MSN me.

Hi Karlprof. I'm Andy. I like, talk to you sometimes. >_>; If I need help, I will, like, contact you on MSN. Wink
_________________
Andrew "The Original Womanizer" Mills,
[i:43512fb57a]Founder Samus.co.uk[/i:43512fb57a]
[img:43512fb57a]http://my.livecard.net/shinyb/samus+co%20uk.png[/img:43512fb57a]
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Metroidius Primus
Flying Pirate


Joined: 24 Dec 2004
Posts: 953
Location: Shannara Forums

PostPosted: Tue Jan 03, 2006 6:37 am    Post subject: Reply with quote

Just a quick question that may or may not effect anything, but I was wondering what version of php the server (the new one I guess if/when we're moving) supports?
_________________

M072 Leviathan eb05 Gman2 xfox Joba D. Kal
[ForumAdvisors.net] [Shannara Forums]
Back to top
View user's profile Send private message Visit poster's website AIM Address
Andrew Mills
** Man Of Action **


Joined: 25 Jul 2004
Posts: 2986
Location: Working my 100% cotton socks off

PostPosted: Tue Jan 03, 2006 9:33 am    Post subject: Reply with quote

Metroidius Primus wrote:
Just a quick question that may or may not effect anything, but I was wondering what version of php the server (the new one I guess if/when we're moving) supports?

PHP 3, 4 or 5. Very Happy
_________________
Andrew "The Original Womanizer" Mills,
[i:43512fb57a]Founder Samus.co.uk[/i:43512fb57a]
[img:43512fb57a]http://my.livecard.net/shinyb/samus+co%20uk.png[/img:43512fb57a]
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Metroidius Primus
Flying Pirate


Joined: 24 Dec 2004
Posts: 953
Location: Shannara Forums

PostPosted: Tue Jan 03, 2006 4:41 pm    Post subject: Reply with quote

Andrew Mills wrote:
Metroidius Primus wrote:
Just a quick question that may or may not effect anything, but I was wondering what version of php the server (the new one I guess if/when we're moving) supports?

PHP 3, 4 or 5. Very Happy


Rolling Eyes Smile

Ok, what about the database? What version of MySQL (assuming that's what you use)?
_________________

M072 Leviathan eb05 Gman2 xfox Joba D. Kal
[ForumAdvisors.net] [Shannara Forums]
Back to top
View user's profile Send private message Visit poster's website AIM Address
Phazon Eater
Ex-Mod Bar Spammer


Joined: 26 Jul 2004
Posts: 5764

PostPosted: Wed Jan 04, 2006 12:14 am    Post subject: Reply with quote

Once the template is finished (not sure how much I'm doing, but I have a small amount done so far), I'm going to code that in html which should be really easy. After that I'm going to need the php coders to start working on coding it as a template (like DF mentioned above). Then we'll start adding basic scripts, such as news posting and affiliates (I've already made these codes long ago, although they'll need some updating for SCU). We'll also need to make admin panel functions for adding and managing various features, such as links, affiliates, news, pages and others. The easiest way to work with it would obviously be to use a MySQL database. Karlprof and DF are two people that come to mind as being good with php, so I know they could probably do these things way more effeciently than I can. There are probably others here too that would be good with it.
_________________
PhazE was here.
—Jan 2, 2010
& again
—Mar 27, 2013
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Destroyer F
Secret World Discoverer


Joined: 25 Jul 2004
Posts: 1255
Location: attacking GIANT CRAB for MASSIVE DAMAGE

PostPosted: Wed Jan 04, 2006 12:26 am    Post subject: Reply with quote

Don't count on me for the first months, got finals in january and february. After that we'll see...

You do realize this will be a project of a few months right?
_________________
It's Ridge Racer... RIIIIIIIIIDGE RAAAACEEERRRR
http://www.youtube.com/watch?v=pJElsNaC6yQ
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Phazon Eater
Ex-Mod Bar Spammer


Joined: 26 Jul 2004
Posts: 5764

PostPosted: Wed Jan 04, 2006 12:31 am    Post subject: Reply with quote

Of course, didn't expect it to get done that fast, but what I do know is that for everything else to make progress you need a starting point... In this case a template made in Photoshop would be a good place to start. Wink
_________________
PhazE was here.
—Jan 2, 2010
& again
—Mar 27, 2013
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Metroidius Primus
Flying Pirate


Joined: 24 Dec 2004
Posts: 953
Location: Shannara Forums

PostPosted: Wed Jan 04, 2006 10:11 pm    Post subject: Reply with quote

PE, do you have any tutorials that you know of for how to do that? (Would it be ok to request on on PGF if not?)
_________________

M072 Leviathan eb05 Gman2 xfox Joba D. Kal
[ForumAdvisors.net] [Shannara Forums]
Back to top
View user's profile Send private message Visit poster's website AIM Address
Phazon Eater
Ex-Mod Bar Spammer


Joined: 26 Jul 2004
Posts: 5764

PostPosted: Thu Jan 05, 2006 1:37 am    Post subject: Reply with quote

You mean to make a template? There should be tons on Good Tutorials and Pixel2Life... of course, following them exactly will give you an overused style that is the direct result of a tutorial, and people will know that...
_________________
PhazE was here.
—Jan 2, 2010
& again
—Mar 27, 2013
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Metroidius Primus
Flying Pirate


Joined: 24 Dec 2004
Posts: 953
Location: Shannara Forums

PostPosted: Thu Jan 05, 2006 1:40 am    Post subject: Reply with quote

Thanks PE. I've been on Pixel2Life before so I should be able to find them. Now I just need to get Photoshop... Neutral
_________________

M072 Leviathan eb05 Gman2 xfox Joba D. Kal
[ForumAdvisors.net] [Shannara Forums]
Back to top
View user's profile Send private message Visit poster's website AIM Address
Banjonator
Sequence Breaker


Joined: 26 Jul 2004
Posts: 331
Location: Austria

PostPosted: Sun Jan 08, 2006 1:53 pm    Post subject: Reply with quote

If I had the time, I'd really like to help out, but I am very busy right now. I have two great projects running parallel and they need to be finished in the next weeks.

This two projects are programmed with PHP4 / PHP5 and MySQL 4. And I really recommend to use PHP and MySQL for the new SCU site, because it will blow everyone's mind! It's a bit complicated to learn, but every1 who knows PHP and MySQL won't have a problem with it.

@Millzy:
You said you won't update every single site in this new version. Yep, I think that's no problem. I think you know what a CMS is, right? Very comlicated, but POWERFUL! So I'd like to work only with a CMS. Haven't seen anything better than that.


So if I can finish my projects and if I will have time for this SCU project, then I'd love to join the team. But as for now, I can only wish you good luck.

I will be back! Wink
_________________
nate wrote:
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger ICQ Number
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Samus.nl Forum Index :: The SCU 2006 Re-Design Board All times are GMT + 1 Hour
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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 vote in polls in this forum




Powered by phpBB © 2001, 2002 phpBB Group
Charcoal2 Theme © Zarron Media