-
Posts
2,318 -
Joined
-
Last visited
-
Days Won
2
Everything posted by pwired
-
What php code should I use to link the same html code?
pwired replied to franciccio-ITALIANO's topic in Getting Started
Many examples on the net https://css-tricks.com/the-simplest-ways-to-handle-html-includes/ https://www.thoughtco.com/html-in-many-docs-with-php-3469181 https://www.phptutorial.net/php-tutorial/php-include-file/ -
I always sticked to the golden rule: keep code separated from layout and it always served me very well. Funny how fashions like tailwind and the ever next bootstrap invite people to break with the golden rule and mix code again with layout Ajaxify is already replacing parts of a page without reloading the whole page for a long time and does it very easy
-
What alternatives to Google Analytics do you use?
pwired replied to OrganizedFellow's topic in Dev Talk
OWA http://www.openwebanalytics.com/ -
Big Discounts here on coding pirple coding school (I am not affiliated) Just to let you know, https://www.pirple.com/
-
Good find ! Now I can use this together with my browser console to see what I am doing. Thanks for posting.
-
They offer a discount on that course - now only for 12 euro - otherwise I would not have mentioned it ?
-
Good point, as many took the road without javascript like me. Lately I am catching up with "talking to the server without page reload" (ajax - XMLHttpRequest) I left treehouse and moved to udemey.com as I experience them more professional/friendly and they have a lot of offers. https://www.udemy.com/course/the-complete-javascript-course/
-
Hi, To find the root url of a website we can use the processwire api I am looking for a php way to get the root url of a website (so not with the api) I have not found a clear solution for it on php.net and neither on stackoverflow This is the best I could find: // DO WE HAVE HTTP OR HTTPS $protocol = empty($_SERVER['HTTPS']) ? 'http' : 'https'; // example php code for http $root_url = "http://".$_SERVER['HTTP_HOST']; $root_url .= str_replace(basename($_SERVER['SCRIPT_NAME']),"",$_SERVER['SCRIPT_NAME']); So far this works but I am not sure if this is the real php fool proof way. Does anyone know of a php fool proof way to get the root url that works for localhost and online site ?
-
Looks like you bumped into a Laravel coder who does not know Processwire. Why don't you first ask for guidance in the forum ? What do you mean by: I want to setup a directory ?
-
Sqlite -- Modules, Case Studies or Advise
pwired replied to Davis Harrison Dion's topic in General Support
Thanks Adrian for posting about this dibiphp, was looking for this for a long time. -
Seeing all those frameworks popup one after the other - sure they all look interesting but are they really worth it ? Tailwind ? .... Alpine over Vue ..... ? Jquery or plane javascript / css / php do the job in 95% of all my cases. Do your website projects really need the new kid on the block ?
-
processwire.dev — Tutorials for web development with ProcessWire
pwired replied to MoritzLost's topic in Tutorials
To make a processwire version with a xml database would be a dream come true. How difficult would that be to make ? -
Remember pocketgrid css ? Lately I learned to mix flexbox with pocketgrid and now it covers almost all of my layouts.
-
Yes, I just subscribed for the complete webdev pack the discount is a very good deal. I see you guys back full stack ?
-
Hi, Anyone who wants to upgrade his coding skills, udemy has a big discount going https://www.udemy.com/course/the-complete-web-development-bootcamp
-
What is your budget ? If it has divi, elementor, etc. generated code then it is a no go
-
Let's not forget a mobile phone without Google https://e.foundation/ https://itsfoss.com/open-source-alternatives-android/ https://fsfe.org/activities/android/liberate.en.html
- 1 reply
-
- 2
-
-
Thanks for posting. This is a nice tool.
-
On the job market I see a lot of junior and senior php coders wanted. I see hardly anything about python coders wanted.
-
I tried them all => go for Laragon => fast => easy config easy ui https://laragon.org/why-laragon/
-
Very easy to beat ? https://arnaudleray.github.io/pocketgrid/ Don't need prepacked buttons, forms, sliders, rounded-corners, cards, whole shebang ..... I only need something to be there the moment I need it. Neither do I need css overrides or cryptic chained classes ....
-
Hi, The next time a client is going to ask you to build his website in WordPress, you could show him this: https://www.ic3.gov/media/2015/150407-1.aspx
-
- 1
-
-
Hi, Until now I use Laragon on a windows laptop to build websites. But is it also possible to build a website on an iPad ? Is there an app for an iPad that works like laragon ? Is it possible ?
-
I split projects in the use of xml based databases and mysql databases. With xml everything flies even on cheap crap shared hosting. I use Processwire for serious projects with decent hosting.