Web Connection
WWC and WordPress
Gravatar is a globally recognized avatar based on your email address. WWC and WordPress
  Alejandro A Sosa
  All
  Dec 21, 2016 @ 08:29am

Looking for a way to combine WestWind connection with WordPress I wondered if it could be done by placing two webservers in the same machine, one based on WordPress for the presentation and another based on WWC to provide the data.

Googling found https://carlalexander.ca/thoughts-wordpress-and-mvc-pattern/

His conclusion is that WordPress and MVC are not a good fit, but that WordPress and ADR (Action-Domain-Responder) are a better fit, where WordPress becomes the responder.

In https://carlalexander.ca/saving-wordpress-custom-post-types-using-interface/ he takes it a little further using PHP code.

The obvious question for a VFP-head is if that can be done with VFP and WWC.

There's a solution somewhere in there. I welcome all help.

TIA,

Alex

Gravatar is a globally recognized avatar based on your email address. re: WWC and WordPress
  Rick Strahl
  Alejandro A Sosa
  Dec 21, 2016 @ 11:25am

I looked into this a while back for an ASP.NET application and it's really not practical to integrate Wordpress with anything but PHP code you can write right within the Wordpress site.

You can definitely run both Wordpress and Web Connection (or anything else you run on IIS) in the same IIS application so it's easy to share links that appear to come from the same application/domain, but directly integrating logic into a WordPress site is not really feasible directly. One option that is possible is to use dynamic JavaScript to load content via AJAX calls into pages, but there are other issues like SEO with that that makes this less appealing.

FWIW, it's not just Wordpress - most CMSs are difficult to integrate with with anything but their native programming language they are built with. For most platforms you can just use a CMSs that is built on that platform and then integrate from there. Unfortunately there's none for FoxPro (no surprise there given the small market)...

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: WWC and WordPress
  Alejandro A Sosa
  Rick Strahl
  Dec 21, 2016 @ 02:03pm

Rick,

Disappointing, but thank you for saving me time.

During the research I learned about several page builders which I'll test to help speeding up the production of pretty HTML, which is what I'm really after. Divi Builder, Beaver Builder, Visual Composer, SiteOrigin Page Builder and Elementor Page Builder.

Thanks.

Alex

Gravatar is a globally recognized avatar based on your email address. re: WWC and WordPress
  Rick Strahl
  Alejandro A Sosa
  Dec 21, 2016 @ 06:34pm

The problem with most of these builders is that they create crap HTML and it's really difficult to get your expressions and related stuff embedded into this stuff.

It's OK for base page layouts, but make sure for forms and other dynamic data you display you either do it by hand use a builder that creates clean HTML.

My recommendation - learn how to do it yourself or hire somebody that does and can integrate and slowly get the rest of your team up to date. There's a lot more to good design than just slapping in a template...

+++ Rick ---

© 1996-2024