Jump to content
franciccio-ITALIANO

App development: processwire/php or meteor/javascript? Which is the easyest?

Recommended Posts

Hello to all. I would like to create an app. So I need to learn at least one programming language. I got informed online, and discovered that javascript with node.js, is the revolution of recent years, because it's faster than php. I wonder: if I develop an app with javascript and with a javascript framework (e.g. Meteor), is there a way to integrate processwire work? I know that processwire supports the transformation of the site into an application, but would it be as simple as Meteor? With the Meteor framework I have my app online in 10 minutes, and without even knowing javascript! (Knowing javascript would serve to personalize it). I should then install the app in a SUB-DOMAIN. If I study php, instead, and if I use a php framework (e.g. Laravel), how long does it take to have my first working app? Is it easy to process Laravel's components? Is writing forms for processwire apps with php a very complex job? Is it better to use Meteor and start with javascript? What would you recommend?

Share this post


Link to post
Share on other sites

It's not that you need to learn at least one programming language, rather that you start with the concepts (ie, Object Oriented Programming, server configurations, etc.). Once you have a good grasp on the concept, the programming language you choose will feel effortless. You will be in a better position to decide which language best suits your project. Just my $.02

Share this post


Link to post
Share on other sites

The biggest thing to keep in mind is that mobile OSes don't just run any programming language. iOS runs swift, android runs java(/kotlin). Then there are a few projects bringing external languages/tooling onto those platforms like react native (js), flutter (dart), …. This is quite a different world to web development.

Then for web technology you can also look at progressive web apps, which are less powerful than native apps, but can serve similar purposes and can be developed quite a bit easier.

ProcessWire or Laravel are just one (likely the simplest) piece of the puzzle by being one of many ways to have a server side backend – you won't get the app itself from them. Meteor is a bigger piece of the puzzle as it's client and backend at the same time, but truthfully I wouldn't suggest meteor nowadays. Its ideas were ahead of the time and it never really took off. Today it lives on mostly on the sidelines.

At the moment I feel flutter or react native based apps are the best way to build an app, if it's meant to be for production use. For the backend choose your favorite flavor of server side tooling. Likely something graphql, which makes it easy to interact with from the apps perspective.

All this however is nothing you learn in a few days and be able to produce an app. I feel not even webdev can be learned that fast anymore.

  • Like 1

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By picarica
      so i am trying to fetch dimensions of image using getimagesize() but it returns nothing, at least i think so, i want to feed it to data attribute, bit its emtpy, i tried feeding it the image directly or just image->url
      here is my source code

       
      foreach($page->repeat_body as $r_body) { /* other code here*/ if ($r_body->gallery_check == 1) { echo "<div class='my-gallery' id='grid-gallery' itemscope itemtype='http://schema.org/ImageGallery'>"; foreach($r_body->image as $image) { $options = array('quality' => 80, 'upscaling' => true, 'cropping' => 'north', 'sharpening'=>'medium'); $thumb = $image->size(400, 400, $options); $large = $image->size(1280, 0, $options); list($width, $height) = getimagesize($image->url); echo " <figure itemprop='associatedMedia' itemscope itemtype='http://schema.org/ImageObject'> <a href='$large->url' itemprop='contentUrl' data-size='$widthx$height' data-index='0'> <img src='$thumb->url' height='$height' width='$width' itemprop='thumbnail' alt='Beach'> </a> </figure>"; } echo "</div>"; } /* other code here*/ } now, the images are outputted correctly, i can open then and browse them
    • By greene000
      There is a site https://carnesmechanical.com/ on the WordPress CMS engine on the server, you need to transfer it to Processwire to another server. About 1000 pages. Write how much you are ready to undertake?
    • By ngrmm
      My clients wants a modal to show up on every page. But when a user clicks inside the modal -> a session-cookie is set and the modal gets a class.
      // user clicks on modal button $('.modal_button').click(function(){ // 1. set PW session cookie // 2. toggle class $('.modal').toggleClass('off'); }); I know how to set a cookie on page-load via PW-API. But the click on the modal button does not force a page-load. So i have to set the cookie through javascript. Is there a way to do that?
    • By adisharma
      Hello Everyone, I am new in this community and I am learning typescript but my friend was suggested to me go with javascript profile because it is most popular scripting language for many web projects and huge community support with lots of documentation and support for solving issues. Can anyone clear this point which one is better for future points of view typescript or javascript?
    • By Marvin
      Hello, i want to ask, i maintain a website that using a processwire and php, and i want to make an archive at my website using a subfolder system, but when i try,
      the sebfolder is show but when i click the files in that subfolder not show, and my browser just show me an error Invalid argument supplied for foreach(), i don't know why it error
      Here i attach my code and my screenshoot website :
      This is my code

      This is result of my website

      This is my error

       
       
×
×
  • Create New...