user418775
user418775

Reputation: 698

Can Wordpress be used to create webpages that tie into pre-existing php files and database?

I have a website that I've developed, which includes hand-written php, html, css, and js. I also created the MySQL database.

I've recently brought someone on who is going to make the website look better, but his experience is limitted to working with Wordpress. I'm wondering if it makes sense for him to the the front-end "skin" work with Wordpress and for me to edit the files as needed so they submit data to my php files and connect to my database. If the php generated by Wordpress is reasonable, this seems doable in theory.

The other way would be to take the html genrated by his php and use that as my starting point for hooking into my php processing files and database.

He sent me a dump of the files created after he created a simple webpage and there seemed to be a lot of extra stuff in there.

Can anyone with experience in this comment? I'm hoping there's an easy way to do this.

Thanks.

Upvotes: 0

Views: 469

Answers (1)

Markus
Markus

Reputation: 5797

The default procedure for me that always worked well:

  • You provide outlines/simple sketchups/your old layout, so the "designer" knows vaguely how you want it to be

  • You define what the site should do ("there should be a button to...", "there should be a list of..., when you click on it..."). So he knows what happens and what site follows another. That's important! He must understand the site.

  • The better you do the above, the better the results you get from the designer will be

  • The designer generates layouts in pure HTML with CSS: Example sites with example data, where everything you said before is integrated.

  • You cut up the HTML-code and integrate it yourself in your php-code

This procedure has also the benefit, that an external designer does not get in contact with your application's internal php-code (and cannot "steal" it). And you can dry up your internal code when you integrate the HTML you get.

Upvotes: 1

Related Questions