/    Sign up×
Community /Pin to ProfileBookmark

PHP – Where do I start?

Hi Developers,

I have no experience with PHP but I would like to create a highly secured (custom) CMS with “PDO” for my company and its members. The CMS is to allow our members to create and manage a “Profile Page” on our company website. As of now, I do everything by hand… and it is very inconvenient.

Each “Profile Page” contains 4 fields and 1 Profile Picture. The fields are Full Name, Job Position, Years of Experience and Phone Number. All other content is 100% the same on every member profile (a basic HTML5 webpage). For now, I obtain that information manually and use an HTML5 template for each member.

I like a “Vanity URL” system (E.g., mycompany.com/[B]username[/B]). That said, I have been creating sub-directories for each member with their Last Name as their [B]username[/B] and have been uploading “[COLOR=”#FF0000″]index.html[/COLOR]” into the root. I would like the CMS to do this automatically (detect the last name and use it as the /[B]username[/B] OR possibly a new “Username” field?)

Anyway, in the end I would like for them to be able to do it on their own…

[B][U]If any developer here on WD can help guide me to some great tutorials (text, videos, audio; etc.) or give me some advice to get this started I would appreciate it! [/U][/B]

Thanks!

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@rootDec 01.2014 — Instead of reinventing the wheel, you might want to start off with a CMS from someone else, find out the functionality you need by that experience and then add the modules you need.

If you want to start ground up then a library like smarty will help, a couple of CMS systems I am aware of use smarty as a tool to build their applications with.
Copy linkTweet thisAlerts:
@ArmenauthorDec 01.2014 — That sounds good, thank you for the i put. My main concern is learning code that is outdated. The goal is security > functionality as of now. What I am seeking to build is a "peice of cake" to get done, and some great tutorials exist that explain exactly how to make something similiar... but lack modern code or security. I would love to disect/reverse the code to learn. All other advice and i put is appreciate ahead of time! Once again, thank you!
Copy linkTweet thisAlerts:
@NogDogDec 01.2014 — For "modern code", I would build it on top of the Laravel PHP framework if you want to "roll your own" rather than adapting an existing CMS. If you use its Eloquent ORM for all DB access, you've taken care of SQL injection security issues without having to think further about it. Other security issues (user login/access stuff, e.g.) is probably more up to you, though there may be existing packages/classes you could utilize. laracasts.com has some really good tutorials on using Laravel, as well as more general topics about PHP. Buy yourself a one-month subscription, and there's a decent chance you'll buy a year's subscript by the time that month is up. ? (And there is a free series on getting started with Laravel that you could try first.)
×

Success!

Help @Armen spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...