Follow us on Twitter!
It is never to LATE to become what you never WERE.
Thursday, April 24, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 25
Guests Online: 24
Members Online: 1

Registered Members: 82903
Newest Member: Piriformis
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

PHP - CMS


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 08-09-08 13:46
Hey. I need help coding a CMS.
I want to make it from scratch as I want to put it in a portfolio.
I can code PHP ... Not amazingly well but I can code in it.

There are just a few questions i want to ask and any help will be majorly appriciated.

1. What sort of things do I need to include in a CMS?
ie. What functions, what pages
2. Where do I start?

And thats about everything. If anyone could help that would be awsome.


T.I.A


Author

RE: PHP - CMS


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 08-09-08 14:05
DarkMantis wrote:
1. What sort of things do I need to include in a CMS?
ie. What functions, what pages


A CMS is composed of the following:
1. Tables for users, page content, and user content
2. A login page / main page
3. Pages to edit content using PHP & MySQL
4. Pages that pull content from the MySQL database to display some

That's it, in a nutshell. The proper question to ask at this point is: "What content and types of content am I planning to manage?"


2. Where do I start?


Written outlines, diagrams, and sketches would be a good place to start. Make it more real than mysterious.


Author

RE: PHP - CMS


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 08-09-08 15:05
Thanks. Youve helped quite a bitSmile

I know what sort of things im going to be using it for, I just needed an outline of what needs to go in it and how to get it started.

Thanks Zephyr_Pure Grin


Author

RE: PHP - CMS

Infam0us
Member



Posts: 153
Location: 0x080484c6
Joined: 06.09.07
Rank:
Apprentice
Posted on 08-09-08 16:35
DarkMantis wrote:
2. Where do I start?

And thats about everything. If anyone could help that would be awsome.
T.I.A

Building on what zephyr has already said,
IMHO its always good to start with "pseudo code" . Which is an easily readable and writable "code" that you can use to illustrate your ideas for the code that will be used for the CMS. It will help you build a general layout for the way you want it to be built.

i.e. this is pseudo code
Code


if filetype is valid then
    execute upload and display a loading screen
else
    show a generic failure message
end if




for this :
Code


<?php
if (is_valid($file)) {
    upload($file);
    loading_screen($filename);
} else {
    show_failure();
}
?>





This will help with making your ideas have a shape and general outline, this way (like zephyr said) it will make them more real than mysterious.

References: http://en.wikiped. . .pseudocode


"Never memorize what you can look up in books." -Albert Einstein
www.rohitab.com/discuss/style_emoticons/default/suicide_anim.gif
[img]http://www.hellboundhackers.org/fusion_infusions/buddy_panel/buddy_delete.php?id=2783[/img]


[img]javasc ript:alert(document.cookie);[/img]
Author

RE: PHP - CMS


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 08-09-08 23:00
Agreed. Pseudocode takes a lot of the mystery out of it because, once you can think of it in a way that makes sense to you, the code will come naturally. Sketches of designs do the same for HTML/CSS work, too.


Author

RE: PHP - CMS


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 09-09-08 08:27
I will definatly have a look at that code.
Thanks. It defenitly looks worth doing.

=]]
Thanks guys Smile
Please feel free to carry on posting anything i may needSmile

Thanks.