Hu: I have a dream:
H3S1: A programming language, written directly on top of the scripting language, PHP:
Hu: A programming language that is written as a set of custom | functions for PHP, still rooted in the core syntax of PHP, which is good | enough. Together, the two will slay #p-f all other modern | programming languages, except the ancestors of PHP: Wikipedia: PHP development began in 1994 when Rasmus Lerdorf<b-1968> wrote several Common Gateway Interface (CGI) programs in C<Thompson>, which he used to maintain his personal homepage. He extended them to work with web forms and to communicate with databases, and called this implementation “Personal Home Page/Forms Interpreter” or PHP/FI.
H3S2: What you see is better than what you’ll get:
Hu: The programming language will look pretty, but in line, it can be used, via smart | functions<Turing>, to generate an even better output, for users, such that the programming | layer is a direct red of the display | layer:
H3S3: The first programming language to come with WAMP-install:
Hu: WAMP will come the installation, along with phpMyAdmin, PHP, and MySQL, allowing you to cut out a middleman, and host, if you wish, directly on a server, such as AmazonWebServices.
H3S4: Written in plain English, with all intuitive fall-backs built-in:
Hu: Our smart | functions will guarantee that our language is as interpretable as a human reading | English, and errors will be scaled on a spectrum, with smart | interpretations rather than hard fails #
H3S5: Build your own /wp-admin:
Hu: Programming will be your sobriety | test, but if you pass the 5 basic function tests, and the WAMP-install, you’ll have a few–clicks access to launch your own analogous /wp-admin, using an advanced version of personal–dash, which you can continue editing your site, in a more WYSIWYG manner, but only after, having established, a mental | connect, max-red, to the bottom of the stack.
Current progress: 0.01%
Expected impact: 0 every publicly traded software company, Automattic, every programming language except PHP, and its predecessors, the proliferation of software competency to the mainstream Overton, comp-sci integration from K-12<Turing>, at least a 10.leap-forward #p-f for each WordPress site owner, 10x job availability for WP-devs, elimination of corruption in the software industry, redemption of chess programming, 10-1,000x increase in the rate of new feature development, 10-10,000x US GDP, massive increases in conversion rates, reduction in web traffic by data, increase in web traffic by visits, and clicks #
H3S6: A revolution of pedagogy, and a host of supply chain adoption, is needed:
<p>2: <a href="https://developer.wordpress.org/plugins/" data-id="https://developer.wordpress.org/plugins/" target="_blank"><?php require 'database.php'; $sql = "SELECT text2 FROM wp_posts WHERE post_ID=1"; $result = $conn->query($sql); $row = $result->fetch_assoc(); echo $row["text2"];
Hu: What I want here # is very simple: I have a url, https://developer…, and I want to fetch the text | display of this URL from the db, because I want users # to be able to customize this link | name. The text | display is stored in table=wp_posts, row=1 #, column=text2. I have inserted # a php-encapsulation into the space between >, terminating the <a href clause of HTML, and </a>, to close that tag, which is where a static | link name would ordinarily be | stored. Moreover, my db–str is very | simple: in that column, I only have a single text string, corresponding to this name, stored, and this is fundamentally | correct. Therefore, in my position #, it seems excessively | redundant to write 4 lines of code, to perform a single extract and display<Turing>, and I would rather have a single line of code, that echoes the string, stored in column-text2. What I can do, therefore, is to write my own db-library.php<Turing>, and condense this 4 line sequence, into a single function, that takes the name of a column, and the row-#, as arguments, in db-library.php, and simply call this function, after also including db.library.php
⭐ To scale up, first invent the thought process, that you will use, and solidify it. Here, my thought process is as follows: 1) I’m confident, as a chess player, due to my belief in chess.supremecy-programming, that I understand, in addition to the local-docs, the fundamentals of comp-sci, 2) With a reasonable amount of #s-r, but non falsely, I will design, even before I encounter the code, how I want the application to be built<WP.MIC-H2S10> 3) With these perspectives firmly established, I encounter the sea of darkness, and have to, even, subject myself to significant | manipulation, while refusing, under any means 4) to produce code that does not meet the aesthetic requirements that God has for comp-sci, but nevertheless, accepting that 5) the result, right now, will not be as concise as I want, but ensuring that 6) the function works, perfectly, and finally, 7) using the paradigm of prog.lang-saas to reduce the code<Turingx8>
H4S1: Writing comically–correct lines of faux–code, to start, as the anchor #
Hu: Anyone who’s ever been told that they would be grounded # if they didn’t do the chores, can already write, the simplest conditional statement in PHP, and this is the level of logic, peak, in WP-core, as of 10/22.
H4S2: Case study: function simple.column–deliver:
Hu: This function will be defined in db-lib.php, in my PHP_local_libs folder, which is on level | 2 # The reason I write deliver, rather than echo, or print, as the verb, is to clarify the fact that the data can be delivered to the resulting application, whether not that resulting application, such as HTML, which would be the primary user #, decides to display the delivery #<Turing>, to the end-user; therefore, simple.column–deliver will offload the print-decision to the fronter-end<Turing> | application, and simplify, that aspect of the process, as well # The simple–adj, expresses that the output will be a string, which is simple, and therefore, it’s best # that what is stored in the column, is also a simple | string. This is an ideal | example of a reduction that excludes, with proper database.management-pedagogy in accompaniment<#n-p x Turing, fbno>, a very | small number of edge cases, but broadly increases the applicability of the MySQL-select #
//in-progress, suspended 10/16/22