Giter Site home page Giter Site logo

examples's Introduction

examples's People

Contributors

dg avatar f3l1x avatar fprochazka avatar genesistms avatar iiic avatar kedrigern avatar pidibi avatar semerak-michal avatar tomaswindsor avatar vojtech-dobes avatar vrana avatar vrtak-cz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

examples's Issues

Nette/Deprecated Enviroment does not exist in download zip

When downloading zip package from here and trying out examples it spits out this warning. This can be easily solved by not using NetteLoader at all and use composer autoload instead as in web-project and sandbox. It's not a problem since you have to do composer update even with the original approach.

Issue can be easily solved by substituting

// Load Nette Framework
if (@!include __DIR__ . '/../../../Nette/loader.php') {
	die('Install Nette using `composer update`');
}

with

require __DIR__ . '/../vendor/autoload.php';

Issue is easily reproducable by doing these steps:

wget https://github.com/nette/nette/releases/download/v2.4.0/Nette-2.4-20170829.zip -O nette.zip
unzip nette.zip
cd Nette-2.4-20170829/examples/CD-collection/
composer update
php -S localhost:8000

and opening browser at http://localhost:800/www/index.php

I feel like it may have some side effects or break some intended behaviour, thus would not open PR but issue where we can have some discussion about this. Let me know if i should make PR.

Ambiguous class in Micro-blog

I've just cloned Micro-blog, run composer update and start php server (php -s localhost:8888 -t www), and it throws me some errors with "Ambiguous class". Can you patch it, please? :-)

Nette\InvalidStateException

Ambiguous class Presenter1 resolution;
defined in
... Micro-blog\www\data\vendor\nette\application\tests\Bridges.DI\files\MyPresenter.php 
and in
... Micro-blog\www\data\vendor\nette\application\tests\UI\one\Presenter1.php.

Click on Cancel in Add Form = Error?

When i click on Cancel in empty Add Form, NetteForms generate Error Message.

/**
 * Edit form factory.
 * @return Form
 */
protected function createComponentAlbumForm()
{
    $form = new Form;
    $form->addText('artist', 'Artist:');
    $form->addText('title', 'Title:');

    $form->addSubmit('save', 'Save')
        ->setAttribute('class', 'default')
        ->onClick[] = $this->albumFormSucceeded;

    $form->addSubmit('cancel', 'Cancel')
        ->setValidationScope(NULL)
        ->onClick[] = $this->formCancelled;

    $form["artist"]->addConditionOn($form['save'], Form::SUBMITTED, TRUE)
        ->setRequired('Please enter an artist.');
    $form["title"]->addConditionOn($form['save'], Form::SUBMITTED, TRUE)
        ->setRequired('Please enter a title.');

    $form->addProtection();
    return $form;
}

CD-collection

Missing item 'appDir'

Nette Framework 2.0-beta (revision a58b0f7 released on 2011-11-29)

edit: je to vyvojova verze, nevim proc ladenka vypsala beta

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.