Jump to content

Search the Community

Showing results for tags 'swirly crap'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. Olden days: 1.) Visitor fills out form 2.) Visitor clicks submit button 3.) Page looks stalled forever while php/cURL script retrievs shipping label from slow 3rd party server. 4.) While waiting, Visitor ponders how they hate slow websites and then unplugs computer. Today (year 2021) 1.) Visitor fills out form 2.) Visitor clicks submit button 3.) Then what? What are the "best practices" implemented now? ...... Based on today's self-study, it appears this is a good technique: • Visitor clicks submit button. • Skeleton page appears that says "Thank you please wait while your shipping label is loaded" • Shipping label appears • Visitor ponders "What a neat fast website." I'm thinking I could do it like this: #1.) I turn that "final page" (that slow one that uses cURL to retrieve shipping label) into an Ajax target. #2.) When the visitor clicks submit button, they immediately see my skeleton page (which actually targets the Ajax target) #3.) Shipping label magically appears. Am I on the right track? Or, at my skill level (a " . 5 " on a scale of 1 to 10) would I be better off to leave things as they are, but simply add an animation overlay while the cURL script runs? As I'm typing out this question.... it appears the actual issue is the default behavior: $_POST pages stay there until all scripts finish running, then the final page loads. I am trying to provide the appearance of a "final page" immediately loading before the scripts finish running.....
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.