-
Posts
2,318 -
Joined
-
Last visited
-
Days Won
2
Posts posted by pwired
-
-
-
Quote
Powered with Bootstrap 5 it might be a game changer for me
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 layoutQuoteUnpoly 2 is promised to be released soon
Ajaxify is already replacing parts of a page without reloading the whole page for a long time and does it very easy
- 1
-
-
Big Discounts here on coding pirple coding school (I am not affiliated)
Just to let you know,
-
Quote
this gem php-hot-reloader
Good find ! Now I can use this together with my browser console to see what I am doing.
Thanks for posting.- 1
-
-
Quote
For years I called myself a web developer, without really knowing much JavaScript.
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/
- 3
-
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 ?- 4
-
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 ?
-
To make a processwire version with a xml database would be a dream come true.
How difficult would that be to make ?
- 1
-
Remember pocketgrid css ? Lately I learned to mix flexbox with pocketgrid and now it covers almost all of my layouts.
- 1
-
Yes, I just subscribed for the complete webdev pack
the discount is a very good deal.
I see you guys back full stack ?- 3
- 1
-
Hi,
Anyone who wants to upgrade his coding skills, udemy has a big discount goinghttps://www.udemy.com/course/the-complete-web-development-bootcamp
- 6
-
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://itsfoss.com/open-source-alternatives-android/
https://fsfe.org/activities/android/liberate.en.html
- 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.
- 1
-
I tried them all => go for Laragon => fast => easy config easy ui
https://laragon.org/why-laragon/- 2
- 1
-
Quote
UIkit is tough to beat however.
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 ....- 1
-
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 ? -
Quote
Wanted to ask the community how do you handle this?
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.- 1
What php code should I use to link the same html code?
in Getting Started
Posted
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/