Category Archives: programming

New Javascript Framework: Bois=JS

Why a new Javascript Framework?

There’s lot of javascript frameworks around – CrampJS, Lewjs, js0nwt, Drainage to name a few – and all fit a particular niche within the front end dev community. But these all have a steep learning curve & are probably designed by crazy people.

Bois=JS is a quick,performant, learnant and agiliant framework which works on the following paradigm: Extensible, Extended, Extant. It uses SOLID principles, HOLO principles and seperates front from back in a way that is desirable for modern, universal systems. It uses XML to provide a consistant interface. It is also orange.

How does Bois=JS work?

<bois wrapper="G">
<div method=44>
 <method type="int" return="click">
   ...insert your Javascript here
 </method>
</div>
The Bois=JS "Thunking" PreProcessorThe Bois=JS “Thunking” PreProcessor

Tell me more!

Yes.
Bois=JS leverages modern development paradigms to extend reality beyond 19.

It is

  • Open source
  • Leveraged
  • Ajax-compliant, Redux compliant, flavoursome
  • Runs on all compatible machines
  • Free

How do I install it?

Using npm

apt-get install npm
npm install boisjs --definitely --now --return

Using bower

apt-get install npm
npm install bower
bower install boisjs --now --please --ok

Using kon-pak

apt-get install npm
npm install bower
bower install kp --now --please --ok
kp --requirement /boisjs !!! 500 return

Using INTERSLICE

apt-get install npm
npm install bower
bower install kp --now --please --ok
kp --requirement /insterslice!!! 500 return
npm install bower
bower install kp --now --please --ok
kp --requirement /insterslice!!! 500 return
npm install bower
bower install kp --now --please --ok
kp --requirement /insterslice!!! 500 return
INTERSLICE12

Or compile from source, whatever.

94% of installs will get an obscure Disabled dependancy review error which we will probably address at some point. A quick workaround can be found probably.

API

Bois-JS has an API. Full documentation will be finished as soon as version 2 replaces it.

Anti-Patterns

Be careful not to overuse the G parameter. While the G parameter is integral to how Bois=JS works, using it more than once will result in your program being so slow that it will melt most mobile devices. If you need to work around this, simply use normal Javascript. The same goes for all of the framework. On the other hand, don’t do this because otherwise why bother using the framework.

Contributors

  • Dave
  • Carlos Internet
  • Dave (another Dave)
  • Konstantin Cobra
  • Klondike Roger
  • “Third” Dave
facebooktwittergoogle_plusredditpinterestlinkedinmailby feather

New features in PHP7

PHP 7 is coming out soon and is a great improvement on previous versions. There’s been a lot of great movement in the community with plenty of RFCs and the language is definitely moving in the right direction.

Here are some great features that you’ll really want to know about

Support for hats

PHP 7 comes with support for a variety of hats. How? Use this handy method get_hat().

Support for 6

The number 6 is now fully supported in PHP7. Previous uses of the number 6 would result in a T_UNEXPECTED_CHWE error but now they can be inserted into code like any other number. For backwards compatibility two 3 or half a 12 can still be used but these methods will throw a deprecated notice.

get_hat method deprecated

The get_hat method introduced in PHP7 has been deprecated. Use get_hat_real() instead.

new error type E_RETHINK_YOUR_LIFE

A warning for WordPress developers.

Support for line numbers

Following PHP 5.3′s introduction of the goto operator PHP7 now features line numbers. Also available are peek and poke functions, plus the ability to switch into Teletext Mode 7.

Licking your own elbows

PHP7 can lick your own elbows so you no longer need to use the ternary operator.

Reverse execution mode

Add define(“execution_mode”, M_REVERSE); to the top of some files sometimes to set execution mode into reverse. The op-code cache has been completely re-written to allow both forward, reverse and random execution sequences.

Alex Kidd in Miracle World built-in

Hold down A+B+C to play the Sega classic!

get_hat_real() method deprecated

Hats are no longer recommended and will be removed from the next version of PHP. Wearing a hat will result in a E_NOTICE_PROBLEM exception.

facebooktwittergoogle_plusredditpinterestlinkedinmailby feather