Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Word Press and Perl

by bennierounder (Sexton)
on Feb 07, 2018 at 10:01 UTC ( #1208611=perlquestion: print w/replies, xml ) Need Help??
bennierounder has asked for the wisdom of the Perl Monks concerning the following question:

Hi Guys it's been a while.

I'm currently building a WordPress online shop and I'm wanting to build an online quote system using perl because perl is the language I'm most familiar with.

I could make a subdomian and have the quote system separate, but I would like to integrate what I do with WordPress and carry over information from one of the WordPress pages over to another page built in perl on the same site. Is this possible and if so can someone point me in the right direction to some literature I can read in order to use perl within WordPress.

For example, I want to build a web shop in perl then the sizes the customer enters into the boxes on the site and the product they select needs to go over to a perl programme for a few calculations then return the results back to the WordPress page

Thank you in advance if you can help

Replies are listed 'Best First'.
Re: Word Press and Perl
by GrandFather (Sage) on Feb 07, 2018 at 22:57 UTC

    I haven't used it at all, but I notice WordPress::CLI and a bunch of other modules in the WordPress name space on CPAN. Maybe there is something there to help you? Fair warning: the module hasn't been updated in quite a while and has a lot of fails on cpantesters so it may not be very useful!

    Premature optimization is the root of all job security
Re: Word Press and Perl
by Jenda (Abbot) on Feb 08, 2018 at 01:06 UTC

    It might be better to choose a CMS written in Perl and write it as a plugin. Google search suggested some, but I can't give a personal recomendation.

    Enoch was right!
    Enjoy the last years of Rome.

Re: Word Press and Perl
by rizzo (Friar) on Feb 08, 2018 at 02:10 UTC

    You could use an iframe to incorporate the Perl part. Read from the database, make your calculations and send the data back to the iframe via websockets.

Re: Word Press and Perl
by Anonymous Monk on Feb 07, 2018 at 12:40 UTC
    Why use WordPress .. at all?

      Because it's easy to make an ecommerce site look good, quickly! What would you recommend?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1208611]
Approved by Corion
Front-paged by haukex
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2018-12-17 02:38 GMT
Find Nodes?
    Voting Booth?
    How many stories does it take before you've heard them all?

    Results (71 votes). Check out past polls.

    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!