Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

n00b asks first question

by krankin (Initiate)
on Sep 02, 2021 at 23:23 UTC ( [id://11136386]=perlquestion: print w/replies, xml ) Need Help??

krankin has asked for the wisdom of the Perl Monks concerning the following question:

I've used a perl based membership replicating website system for the last 12 years. I simply designed the websites and the members back office as well as utilized forms and tags to customize the system. The person who provided the platform has gone out of business/website down and phone number disconnected. I would like to learn how to code my own system or possibly better yet find a similar system that I can use. Does anyone have a suggestion on where to best learn perl or know of a membership website replicator system?

Replies are listed 'Best First'.
Re: n00b asks first question
by GrandFather (Saint) on Sep 02, 2021 at 23:40 UTC

    PerlMonks is a pretty good place to get a start with Perl. See Tutorials to start dipping your toe in, especially the Getting Started with Perl section. Posting questions here when you stumble or are curious will generally get pretty quick answers.

    That said, there is a pretty large learning curve from start to writing a website regardless of what language and tools you use, especially if you have no or little previous programming experience. I find things I have little experience with always seem much easier than they are in practice and the better something is done the simpler it seems and the harder it was to do!

    Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
Re: n00b asks first question
by hippo (Bishop) on Sep 03, 2021 at 08:42 UTC
    I would like to learn how to code my own system

    Good for you! Writing the system is the one sure-fire way to understand it all. However, as others have already mentioned, that is a big undertaking - especially if you are learning the underlying language and the associated web protocols and technologies at the same time. That's not to say you shouldn't try but just don't expect it to be easy or quick to complete.

    or possibly better yet find a similar system that I can use

    This might be an option. There were a whole bunch of such systems 15 to 20 years ago but that mode of operating (what you refer to as a Membership Replicator System) seems to have fallen out of fashion since and most of the applications in use back then have stagnated. There are probably a few still going but I don't have the details, sorry.

    The person who provided the platform has gone out of business

    Big question then: who owns the code to the existing system and what is the licence? If (big if - check with your lawyers if in any doubt whatsoever) you have the rights to do so you could use the existing system as a starting point. Learn how it works, understand the code and then, only then, start to go about modifying it to suit your needs. This assumes that you actually have the code of course and that existing system isn't just some SaaS offering instead.

    Good luck with it however you decide to approach it. We in the Monastery can help you with the Perl side of things and probably some more besides.


    🦛

Re: n00b asks first question
by marto (Cardinal) on Sep 03, 2021 at 08:18 UTC

    I wrote something like this a long time ago for a previous employer, it was a stand alone desktop application, not written in perl. I second the suggestion of Mojolicious, but agree with others that the learning curve is pretty steep if you're starting from no knowledge at all.

Re: n00b asks first question
by Anonymous Monk on Sep 02, 2021 at 23:38 UTC
    Does anyone have a suggestion on where to best learn perl
    https://learn.perl.org/, though it sounds like you would have to learn web development too, which is (in my opinion) harder. See MDN Web Docs for that.
    or know of a membership website replicator system?
    What is a membership website replicator system?
      A Membership Replicator System... basically a website replicating system. New members fill out form to join and automatically get a replicated website with the their customized info on it, info from the join form they just completed or from additional forms located in the members area.
        Hello krankin and welcome to the monastery and to the wonderful world of Perl!

        Basically you will need a frontend made with Mojolicious (full featured perl web framework; great documentation) or Dancer2 (probably easier to get started) to fetch users parameters. Then you can use Template::Toolkit (or something similar in CPAN like Text::Xslate ) to customize users pages.

        Then you ship these customized templates into an Apache (external?) webserver, automate the Apache configuration to load this new content, eventually automate the DNS population entry for this new website.

        In the front end you can implement a queue manager to put on the queue all the steps, so you can render a page telling the user that the work is in progress.

        Is not exactly my field and I never done something similar, but I'd proceed this way. Sounds fun :)

        I have some link about learning Perl in my bibliotheca

        Share here your doubts in a clear way, with code examples and you will get for sure better support.

        L*

        There are no rules, there are no thumbs..
        Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

        Like, say, Tilda? Most web developers would call it a kind of content management system, but if it's called a Membership Replicator System in your area, let's call it that.

        But then you definitely have to learn web development, and that's not good news at all. The fact that you'll need another programming language (JavaScript + DOM API) isn't even the worst part. <rant>(The worst part is having to stay up to date in the maze of twisty little standards mostly set by Google to make it easier to deliver targeted ads because everyone uses Chrome.)</rant> Once you know enough Perl, take a look at Mojolicious / Dancer2 / Catalyst to choose the server-side part and read MDN Web Docs to learn about the client-side part of the website.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11136386]
Approved by GrandFather
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-25 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found